public class WordNetLexicalizer extends Object
Constructor and Description |
---|
WordNetLexicalizer(HashMap<String,Integer>[] allTerms,
HashMap<String,String>[] exceptions) |
Modifier and Type | Method and Description |
---|---|
String |
checkCompoundNames(String CurrentString) |
boolean |
getIsNounAdj() |
String |
getLexicalization() |
String |
getWordLexicalizationByType(String word,
String posTag)
Returns the lexicalization of a word for which the part-of-speech tag is known
|
int |
getWordType() |
void |
setPOSWordType(int t) |
void |
setWord(String word) |
public boolean getIsNounAdj()
public int getWordType()
public void setPOSWordType(int t)
public void setWord(String word)
public String getWordLexicalizationByType(String word, String posTag)
word
- the word to lexicalizeposTag
- the part of speach tagpublic String getLexicalization()
Copyright © 2016–2020 FBK. All rights reserved.