org.jscience.linguistics
Class Word

java.lang.Object
  extended by org.jscience.linguistics.Word

public class Word
extends java.lang.Object

The Word defines sequences of Morphemes.


Constructor Summary
Word(Language language, java.lang.String string)
          Creates a new Word object.
Word(Morpheme[] morphemes)
          Creates a new Word object.
 
Method Summary
 Language getLanguage()
          DOCUMENT ME!
 Morpheme[] getMorphemes()
          DOCUMENT ME!
 java.lang.String getString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Word

public Word(Language language,
            java.lang.String string)
Creates a new Word object.

Parameters:
language - DOCUMENT ME!
string - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

Word

public Word(Morpheme[] morphemes)
Creates a new Word object.

Parameters:
morphemes - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getLanguage

public Language getLanguage()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMorphemes

public Morpheme[] getMorphemes()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getString

public java.lang.String getString()
DOCUMENT ME!

Returns:
DOCUMENT ME!