|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.pojos.Utils
public class Utils
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
array2String(java.lang.String[] theseStrings)
Flatten array of strings to one string |
static java.lang.String[] |
getCasedWords(edu.princeton.wordnet.pojos.Word thisWord)
Get cased forms for word |
static java.lang.String[] |
getMorphs(edu.princeton.wordnet.pojos.Word thisWord)
Get morphological forms for word |
static java.lang.String[] |
getWords(edu.princeton.wordnet.pojos.Synset thisSynset)
Get words in synset |
(package private) static java.lang.String |
lexLink2String(edu.princeton.wordnet.pojos.LexLink thisLexlink)
Utils lexical link (x R y) |
(package private) static java.lang.String |
lexLink2String(edu.princeton.wordnet.pojos.LexLink thisLexlink,
boolean processTarget)
Utils lexical link (x R y) |
(package private) static java.lang.String |
semLink2String(edu.princeton.wordnet.pojos.SemLink thisSemlink)
Utils semantic link (x R y) |
(package private) static java.lang.String |
semLink2String(edu.princeton.wordnet.pojos.SemLink thisSemlink,
boolean processTarget)
Utils semantic link (x R y) |
(package private) static java.lang.String |
synset2String(edu.princeton.wordnet.pojos.Synset thisSynset)
Represent synset as string |
(package private) static java.lang.String |
word2String(edu.princeton.wordnet.pojos.Word thisWord)
Represent word as string |
static java.lang.String[] |
words2Strings(java.util.Set<edu.princeton.wordnet.pojos.Word> thisWordSet)
Represent words as string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static java.lang.String[] getWords(edu.princeton.wordnet.pojos.Synset thisSynset)
thisSynset - synset
public static java.lang.String[] getMorphs(edu.princeton.wordnet.pojos.Word thisWord)
thisWord - word
public static java.lang.String[] getCasedWords(edu.princeton.wordnet.pojos.Word thisWord)
thisWord - word
public static java.lang.String array2String(java.lang.String[] theseStrings)
theseStrings - array of strings
static java.lang.String word2String(edu.princeton.wordnet.pojos.Word thisWord)
thisWord - word
public static java.lang.String[] words2Strings(java.util.Set<edu.princeton.wordnet.pojos.Word> thisWordSet)
thisWordSet - word set
static java.lang.String synset2String(edu.princeton.wordnet.pojos.Synset thisSynset)
thisSynset - synset
static java.lang.String semLink2String(edu.princeton.wordnet.pojos.SemLink thisSemlink)
thisSemlink - semantic link R
static java.lang.String lexLink2String(edu.princeton.wordnet.pojos.LexLink thisLexlink)
thisLexlink - lexical link R
static java.lang.String semLink2String(edu.princeton.wordnet.pojos.SemLink thisSemlink,
boolean processTarget)
thisSemlink - semantic link RprocessTarget - whether to process link's target (y) or source (x)
static java.lang.String lexLink2String(edu.princeton.wordnet.pojos.LexLink thisLexlink,
boolean processTarget)
thisLexlink - lexical link RprocessTarget - whether to process link's target (y) or source (x)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||