NLTK synset with other languages - python 2.7 - Stack Overflow

文章推薦指數: 80 %
投票人數:10人

It looks like there is a Chinese (cmn) WordNet available from a university in Taiwan: http://casta-net.jp/~kuribayashi/multi/ . Home Public Questions Tags Users Companies Collectives ExploreCollectives Teams StackOverflowforTeams –Startcollaboratingandsharingorganizationalknowledge. CreateafreeTeam WhyTeams? Teams CreatefreeTeam Collectives™onStackOverflow Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost. Learnmore Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. Learnmore NLTKsynsetwithotherlanguages AskQuestion Asked 8years,11monthsago Modified 5years,1monthago Viewed 2ktimes 2 Rightnowi'mtryingtocomparewordsfromtwodifferentfiles,oneenglish,onechinese.Ihavetoidentifyifanyoftheenglishwordsarerelatedtothechinesewordsandiftheyare,aretheyequalorisoneahypernymoftheother.Icanusesynsetsforenglishbutwhatcanidoaboutthechinesewords? python-2.7nlpnltk Share Improvethisquestion Follow editedJul4,2013at15:22 arturomp 27.6k1010goldbadges4141silverbadges6969bronzebadges askedJul1,2013at5:41 watisitwatisit 18311goldbadge22silverbadges99bronzebadges Addacomment  |  1Answer 1 Sortedby: Resettodefault Highestscore(default) Datemodified(newestfirst) Datecreated(oldestfirst) 1 ItlookslikethereisaChinese(cmn)WordNetavailablefromauniversityinTaiwan:http://casta-net.jp/~kuribayashi/multi/.IfthisWordNethasthesameformatastheEnglishWordNet,thenyoucanprobablyusetheWordNetCorpusReader(http://nltk.googlecode.com/svn/trunk/doc/api/nltk.corpus.reader.wordnet-pysrc.html#WordNetCorpusReader)inNLTKtoimporttheMandarindata.Idon'tknowhowyou'redoingyouralignmentsortranslationsbetweenthetwodatasets,butassumingyoucanmapEnglishtoChinese,thisshouldhelpyoufigureouthowtherelationbetweentwoEnglishwordscomparestotherelationbetweentwoMandarinwords.Notethatifyourdatausesthesimplifiedscript,youmayalsoneedtoconverttothetraditionalscriptbeforeusingthiscmnWordNet. Share Improvethisanswer Follow answeredJul2,2013at16:34 dmhdmh 1,0521616silverbadges2626bronzebadges 3 ;PtheOpenMultilingualWordNetisagreatresourcefornon-englishwordnet,andifANYONEisgladtocodetheNLTKAPI,[email protected]/home/fcbondorStevenBirdww2.cs.mu.oz.au/~sborboth=) – alvas Jul15,2013at9:10 ThatwouldbewhyIlinkedtothefulllistratherthanjusttheWordNetOPneeded.Ishouldaddsomethingtomentionhowtheontologiesdevelopedfordifferentlanguagesaren'ttypicallyidenticalcross-linguistically,thoughIthinkforhypo-andhyper-nymidentificationthehierarchicalstructuremightbecloseenoughinmanycases. – dmh Jul15,2013at16:11 itispossibletohavelanguageindependentdomainspecificontologiesbutidon'tthinkhypo/hypernymhierachiesarethatclosecrosslingually.Seegoo.gl/LkN3h – alvas Jul15,2013at16:19 Addacomment  |  YourAnswer ThanksforcontributingananswertoStackOverflow!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Nottheansweryou'relookingfor?Browseotherquestionstaggedpython-2.7nlpnltkoraskyourownquestion. TheOverflowBlog Abeginner’sguidetoJSON,thedataformatfortheinternet Episode448:KidnappinganNFT FeaturedonMeta AnnouncingthearrivalofValuedAssociate#1214:Dalmarus Improvementstositestatusandincidentcommunication CollectivesUpdate:IntroducingBulletins RetiringOurCommunity-SpecificClosureReasonsforServerFaultandSuperUser AskWizardTestResultsandNextSteps Shouldweburninatethe[comma]tag? Related 0 Regextoextractthewordsfromotherlanguages 6 DeterminingHypernymorHyponymusingwordnetnltk 9 Howtoun-stemawordinPython? 5 NLTKWordnetSynsetforwordphrase 0 HowcanIasktheNLTKtohavesynonymsbeconnectedtonearbyterms,ratherthananisland? 0 BasicTextClassificationwithPythonandNLTK 2 Howtocheckifwordsareinsynsetsornot? 0 IncompletelistofsynsethypernymsinNLTK'sWordNet? 0 Similaritybetweentwowordswithpre-trainedNLTKwordnet 1 Lowestcommonhypernymssharedbyasetofwords HotNetworkQuestions Howtoconnectschedule40PVCconduittoanoutdoormetalenclosure/panel? ExpectationswhenredressinginaDutchhotelroom(nocurtains) CanIuploadmypreprinttoarXivusingtheidentifiableformattingstyleofthejournalIamsubmittingitto? Howwouldanelementbehavethat'saplasmaatroomtemperature? Increasingpermutationtrees Fouriertransformofmodulusofsumofsines Softwaretosyncwithtempoinviolin Helpidentifythispart-possiblytrainrelated? Doyourememberthisbookaboutlivinginatube-likemeteor? Originofthephrase"tohavenotruckwith" ScribblePadforNerds amIusingthisrespiratorcorrectly? Doesflamebladecountasameleeweaponthatcanbeusedwithdivinesmite? Confusingsentencethatseemstohaveadoublenegative Doyoubarreachorddirectlyonthefretitselforinbetweenthefrets? Intuitiveunderstandingofrelationbetweenphasemarginandpeakovershootand/ordampingfactor WhycanweassumeactmofZFCexistsinforcing HowcanImakeanearthlikeplanetwindier? Useoflunatesigmainscholarlyeditions Doありがとうandありかどうsoundthesamewhenyouarewhispering? NIntegratefailstoconvergetodesiredaccuracy WhatisthereasoningbehindexpectingresidualsinOLSregressiontobenormallydistributed? Problem7.21Lee,introductiontomanifolds. CanIputasuspensionforkonahybridbikeliketheKonaDew? morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. lang-py Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings  



請為這篇文章評分?