WordNetUtil.java :  » Natural-Language-Processing » Dragon-Toolkit » dragon » nlp » tool » Java Open Source

Java Open Source » Natural Language Processing » Dragon Toolkit 
Dragon Toolkit » dragon » nlp » tool » WordNetUtil.java
package dragon.nlp.tool;

/**
 * <p>Interface of WordNet (incomplete version) </p>
 * <p></p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: IST, Drexel University</p>
 * @author Davis Zhou
 * @version 1.0
 */

public interface WordNetUtil {
    static final int POS_NOUN=1;
    static final int POS_VERB=2;
    static final int POS_ADJECTIVE=3;
    static final int POS_ADVERB=4;
    static final int FIRSTPOS=1;
    static final int LASTPOS=4;

    String lemmatize(String word);
    String lemmatize(String word, int POS);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.