The Encog Project

org.encog.nlp.lexicon.data
Class Word

java.lang.Object
  extended by org.encog.util.orm.DataObject
      extended by org.encog.nlp.lexicon.data.Word
All Implemented Interfaces:
java.io.Serializable

public class Word
extends DataObject

Note: This class is part of the Encog Natural Language Processing(NLP) package. This package is still under heavy construction, and will not be considered stable until Encog 3.0.

Author:
jheaton
See Also:
Serialized Form

Constructor Summary
Word()
           
 
Method Summary
 boolean endsWith(java.lang.String value)
           
 java.util.Collection<Fix> getFixes()
           
 int getGutenbergCount()
           
 Lemma getLemma()
           
 java.lang.String getText()
           
 java.util.Collection<WordTypePossibility> getTypes()
           
 int getWikiCount()
           
 boolean hasFix(Fix fix)
           
 boolean hasType(WordType wordType)
           
 boolean isWordOfType(WordType type)
           
 int length()
           
 void setGutenbergCount(int gutenbergCount)
           
 void setLemma(Lemma lemma)
           
 void setText(java.lang.String text)
           
 void setWikiCount(int wikiCount)
           
 boolean startsWith(java.lang.String value)
           
 java.lang.String toString()
           
 void validate()
          Validate this object.
 
Methods inherited from class org.encog.util.orm.DataObject
copy, equals, getBooleanValue, getCreated, getId, getLastUpdate, getVersion, setCreated, setLastUpdate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Word

public Word()
Method Detail

getText

public java.lang.String getText()

setText

public void setText(java.lang.String text)

length

public int length()

validate

public void validate()
Description copied from class: DataObject
Validate this object.

Specified by:
validate in class DataObject

endsWith

public boolean endsWith(java.lang.String value)

startsWith

public boolean startsWith(java.lang.String value)

getLemma

public Lemma getLemma()

setLemma

public void setLemma(Lemma lemma)

isWordOfType

public boolean isWordOfType(WordType type)

getTypes

public java.util.Collection<WordTypePossibility> getTypes()

getGutenbergCount

public int getGutenbergCount()

setGutenbergCount

public void setGutenbergCount(int gutenbergCount)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hasType

public boolean hasType(WordType wordType)

getFixes

public java.util.Collection<Fix> getFixes()

hasFix

public boolean hasFix(Fix fix)

getWikiCount

public int getWikiCount()

setWikiCount

public void setWikiCount(int wikiCount)

The Encog Project