回复: R自然语言处理模块
嗯,试了WordNet,很不错。下面是我在Ubuntu下的测试结果:
1. 安装 WordNet: sudo apt-get install wordnet
2. R> install.packages("wordnet")
3. R> library(wordnet)
R> synonyms("friend","NOUN")
[1] "acquaintance" "admirer" "ally" "booster" "champion" "friend"
[7] "Friend" "protagonist" "Quaker" "supporter"