edu.princeton.wordnet.pojos.Utils Class Reference
List of all members.
Detailed Description
- Author:
- bbou
Member Function Documentation
static String edu.princeton.wordnet.pojos.Utils.array2String |
( |
final String[] |
theseStrings |
) |
[static] |
Flatten array of strings to one string
- Parameters:
-
| theseStrings | array of strings |
- Returns:
- string
static String [] edu.princeton.wordnet.pojos.Utils.getCasedWords |
( |
final Word |
thisWord |
) |
[static] |
Get cased forms for word
- Parameters:
-
- Returns:
- array of cased strings
static String [] edu.princeton.wordnet.pojos.Utils.getMorphs |
( |
final Word |
thisWord |
) |
[static] |
Get morphological forms for word
- Parameters:
-
- Returns:
- array of morphological strings
static String [] edu.princeton.wordnet.pojos.Utils.getWords |
( |
final Synset |
thisSynset |
) |
[static] |
Get words in synset
- Parameters:
-
- Returns:
- array of lemma strings
static String edu.princeton.wordnet.pojos.Utils.lexLink2String |
( |
final LexLink |
thisLexlink, |
|
|
final boolean |
processTarget | |
|
) |
| | [static, package] |
Utils lexical link (x R y)
- Parameters:
-
| thisLexlink | lexical link R |
| processTarget | whether to process link's target (y) or source (x) |
- Returns:
- string representing link
static String edu.princeton.wordnet.pojos.Utils.lexLink2String |
( |
final LexLink |
thisLexlink |
) |
[static, package] |
Utils lexical link (x R y)
- Parameters:
-
| thisLexlink | lexical link R |
- Returns:
- string representing link
static String edu.princeton.wordnet.pojos.Utils.semLink2String |
( |
final SemLink |
thisSemlink, |
|
|
final boolean |
processTarget | |
|
) |
| | [static, package] |
Utils semantic link (x R y)
- Parameters:
-
| thisSemlink | semantic link R |
| processTarget | whether to process link's target (y) or source (x) |
- Returns:
- string representing link
static String edu.princeton.wordnet.pojos.Utils.semLink2String |
( |
final SemLink |
thisSemlink |
) |
[static, package] |
Utils semantic link (x R y)
- Parameters:
-
| thisSemlink | semantic link R |
- Returns:
- string representing link
static String edu.princeton.wordnet.pojos.Utils.synset2String |
( |
final Synset |
thisSynset |
) |
[static, package] |
Represent synset as string
- Parameters:
-
- Returns:
- string
static String edu.princeton.wordnet.pojos.Utils.word2String |
( |
final Word |
thisWord |
) |
[static, package] |
Represent word as string
- Parameters:
-
- Returns:
- string
static String [] edu.princeton.wordnet.pojos.Utils.words2Strings |
( |
final Set< Word > |
thisWordSet |
) |
[static] |
Represent words as string
- Parameters:
-
- Returns:
- strings
The documentation for this class was generated from the following file:
- /opt/devel/wnscope/WordNetScope/src/edu/princeton/wordnet/pojos/Utils.java