public class WordNetDidion extends Object implements Lemmatiser, WordNetUtil
A Java-implementation of WordNet provided by Didion
Copyright: Copyright (c) 2005
Company: IST, Drexel University
FIRSTPOS, LASTPOSFIRSTPOS, LASTPOS, POS_ADJECTIVE, POS_ADVERB, POS_NOUN, POS_VERB| Constructor and Description |
|---|
WordNetDidion() |
WordNetDidion(String workDir) |
| Modifier and Type | Method and Description |
|---|---|
net.didion.jwnl.dictionary.Dictionary |
getDictionary() |
String |
lemmatize(String word)
Gets the base form of the word.
|
String |
lemmatize(String word,
int pos)
Gets the base form of the word
|
String |
stem(String word)
Gets the stem of the word.
|
public WordNetDidion(String workDir)
public WordNetDidion()
public net.didion.jwnl.dictionary.Dictionary getDictionary()
public String lemmatize(String word)
Lemmatiserlemmatize in interface Lemmatiserlemmatize in interface WordNetUtilword - the word for lemmatisingpublic String lemmatize(String word, int pos)
Lemmatiserlemmatize in interface Lemmatiserlemmatize in interface WordNetUtilword - the word for lemmatisingpos - the part of speech of the wordpublic String stem(String word)
Lemmatiserstem in interface Lemmatiserword - the word for processingCopyright © 2018 JULIE Lab, Germany. All rights reserved.