readme

来自「mallet是自然语言处理、机器学习领域的一个开源项目。」· 代码 · 共 32 行

TXT
32
字号
The Wordnet interface was obtained from http://sourceforge.net/projects/jwordnet/Usage:1) Download the Wordnet dictionary fromhttp://www.cogsci.princeton.edu/~wn/obtain.shtml This interface hasbeen tested on Wordnet 2.0.2) Update mallet/base/util/resources/wn/file_properties.xml to pointto the dictionary: Change the "dictionary_path" value to the path ofyour dictionary.3) import net.didion.jwnl.*;4) Initialize the dictionary (update to match your path to theutil/wn/ directory)   JWNL.initialize(new FileInputStream("../mallet/src/edu/umass/cs/mallet/base/util/resources/wn/file_properties.xml"));  net.didion.jwnl.dictionary.Dictionary.getInstance();	5) Sample usage if you look at util/wn/Examples.java To learn more, you can look at the local joavadocs, or look here:http://www-nlp.stanford.edu/nlp/javadoc/jwnl-docs/overview-frame.html- culotta@cs.umass.edu

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?