audreyt/wordnet - GitHub

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

Chinese Wordnet 標記平台的SQL 資料結構 · Chinese Wordnet 的Python NLTK 模組 · CKIP 中研院斷詞服務 · 詞意相似度計算. Skiptocontent {{message}} audreyt / wordnet Public Notifications Fork 6 Star 8 8 stars 6 forks Star Notifications Code Pullrequests 0 Actions Projects 0 Wiki Security Insights More Code Pullrequests Actions Projects Wiki Security Insights audreyt/wordnet Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. master Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 1 branch 0 tags Code Latestcommit   Gitstats 34 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime Makefile     README.md     adj.exc     adv.exc     ckip.py     ckip.pyc     cntlist.rev     data.adj     data.adv     data.noun     data.py     data.verb     gloss.adj     index.adj     index.adv     index.noun     index.py     index.sense     index.verb     lexnames     noun.exc     synset_id.adj     test.py     verb.exc     wndb     Viewcode ChineseWordnet標記平台的SQL資料結構 ChineseWordnet的PythonNLTK模組 CKIP中研院斷詞服務 詞意相似度計算 README.md ChineseWordnet標記平台的SQL資料結構 ChineseWordnet標記平台的資料儲存於SQL資料庫,請先下載(http://lope.linguistics.ntu.edu.tw/cwnvis/data/cwn_dirty.sqlite),主要有三個資料表: cwn_lemma:記錄6碼的lemma_id、cwn_pinyin、cwn_zhuyin、lemma_sno以及lemma_type cwn_sense:在原lemma_id擴增2碼成為8碼的sense_id、lemma_id以及sensedefinition cwn_goodSynset:記錄id、gloss、synsetmember的sense_id ChineseWordnet的PythonNLTK模組 請clone本資料夾後覆蓋到nltk_data/corpora即可使用 取得第一個詞意: fromnltk.corpusimportwordnet wordnet.all_synsets()[0].definition CKIP中研院斷詞服務 請自行申請帳號(http://ckipsvr.iis.sinica.edu.tw)並寫入ckip.py fromckipimportseg username='yourusername' password='yourpassword' 詞意相似度計算 fromtestimportsimilar similar(seg(def1),seg(def2)) About Nodescription,website,ortopicsprovided. Resources Readme Stars 8 stars Watchers 3 watching Forks 6 forks Releases Noreleasespublished Packages0 Nopackagespublished Languages Python 97.7% Makefile 2.3% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?