|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.WordNet
treebolic.provider.wn.XWordNet
class XWordNet
Extended WordNet querier
| Field Summary | |
|---|---|
static java.lang.String[][] |
thePosLinkTypeString
Link type string indexed on pos-1 |
static java.lang.String[] |
theSearchTypeXString
Link type strings |
| Fields inherited from class edu.princeton.wordnet.WordNet |
|---|
ADJ, ADJSAT, ADV, ALLPOS, ALLSENSES, ANTPTR, ATTRIBUTE, ATTRIBUTIVE, CAUSETO, CLASS, CLASS_CATEGORY, CLASS_REGIONAL, CLASS_USAGE, CLASSIF_CATEGORY, CLASSIF_REGIONAL, CLASSIF_USAGE, CLASSIFICATION, COORDS, COUSIN, COUSINEXC, DATA, DERIVATION, DIRECT_ANT, DONT_KNOW, ENTAILPTR, FIRSTCLASSIFTYPE, FIRSTCLASSTYPE, FIRSTLINKTYPE, FIRSTPOS, FIRSTSEARCHTYPE, FIRSTXSEARCHTYPE, FRAMES, FREQ, HASMEMBERPTR, HASPARTPTR, HASSTUFFPTR, HHOLONYM, HMERONYM, HOLONYM, HYPERPTR, HYPOPTR, IMMED_POSTNOMINAL, INDEX, INDIRECT_ANT, INSTANCE, INSTANCES, IPADJ, ISMEMBERPTR, ISPARTPTR, ISSTUFFPTR, LASTCLASSIFTYPE, LASTCLASSTYPE, LASTLINKTYPE, LASTPOS, LASTSEARCHTYPE, MAXLINKTYPE, MERONYM, NONE, NOPOS, NOUN, NPADJ, OVERVIEW, PADJ, PERTAINYM, PERTPTR, PPLPTR, PREDICATIVE, RELATIVES, SATELLITE, SEEALSOPTR, SENSE, SIMPTR, SYNS, thePosLinkMask, thePosString, theSearchTypeString, UNKNOWN_MARKER, VERB, VERBGROUP, VERBIDX, VERBSENTENCE, WNGREP |
| Constructor Summary | |
|---|---|
XWordNet()
Constructor |
|
| Method Summary | |
|---|---|
static boolean |
canRecurse(int thisSearch)
Get whether search type can recurse |
java.lang.String[] |
getPos2LemmaMap(int thisPosMask,
java.lang.String thisWord)
Get lemmas for part of speech and target word |
long[] |
getPos2LinksMap(int thisPosMask,
java.lang.String thisWord)
Get links for part of speech and target word |
int |
getPosMask(java.lang.String thisWord)
Get part of speech mask |
static java.lang.String |
getSearchType(int thisPos,
int thisIndex,
java.lang.String thisWord)
Get search type string |
| Methods inherited from class edu.princeton.wordnet.WordNet |
|---|
findtheinfo_ds, findtheinfo, getindex, getpos, getptrtype, getsstype, in_wn, index_lookup, is_defined, morphinit, morphstr, morphword, re_morphinit, re_wninit, read_synset, wninit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] theSearchTypeXString
public static final java.lang.String[][] thePosLinkTypeString
| Constructor Detail |
|---|
public XWordNet()
| Method Detail |
|---|
public static boolean canRecurse(int thisSearch)
thisSearch - search type
public static java.lang.String getSearchType(int thisPos,
int thisIndex,
java.lang.String thisWord)
thisPos - part of speechthisIndex - indexthisWord - target word
public int getPosMask(java.lang.String thisWord)
thisWord - target word
public long[] getPos2LinksMap(int thisPosMask,
java.lang.String thisWord)
thisPosMask - part of speech maskthisWord - target word
public java.lang.String[] getPos2LemmaMap(int thisPosMask,
java.lang.String thisWord)
thisPosMask - part of speech maskthisWord - target word
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||