edu.princeton.wordnet.pojos.Utils Class Reference

List of all members.

Static Public Member Functions

static String[] getWords (final Synset thisSynset)
static String[] getMorphs (final Word thisWord)
static String[] getCasedWords (final Word thisWord)
static String array2String (final String[] theseStrings)
static String[] words2Strings (final Set< Word > thisWordSet)

Static Package Functions

static String word2String (final Word thisWord)
static String synset2String (final Synset thisSynset)
static String semLink2String (final SemLink thisSemlink)
static String lexLink2String (final LexLink thisLexlink)
static String semLink2String (final SemLink thisSemlink, final boolean processTarget)
static String lexLink2String (final LexLink thisLexlink, final boolean processTarget)

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:
thisWord word
Returns:
array of cased strings
static String [] edu.princeton.wordnet.pojos.Utils.getMorphs ( final Word  thisWord  )  [static]

Get morphological forms for word

Parameters:
thisWord word
Returns:
array of morphological strings
static String [] edu.princeton.wordnet.pojos.Utils.getWords ( final Synset  thisSynset  )  [static]

Get words in synset

Parameters:
thisSynset synset
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:
thisSynset synset
Returns:
string
static String edu.princeton.wordnet.pojos.Utils.word2String ( final Word  thisWord  )  [static, package]

Represent word as string

Parameters:
thisWord word
Returns:
string
static String [] edu.princeton.wordnet.pojos.Utils.words2Strings ( final Set< Word thisWordSet  )  [static]

Represent words as string

Parameters:
thisWordSet word set
Returns:
strings

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:44:09 2010 for WordNetScope by  doxygen 1.6.3