Fido Alpha 3.2

fido.db
Class MorphologyRecognizeMatch

java.lang.Object
  |
  +--fido.db.MorphologyRecognizeMatch
All Implemented Interfaces:
java.io.Serializable

public class MorphologyRecognizeMatch
extends java.lang.Object
implements java.io.Serializable

This class packages return values from a call to LanguageMorphologyTable.recognize(). A recognize match will return the root form of the word and the Morphology type that was used to recognize the root form from the surface form.

See Also:
LanguageMorphologyTable.recognize(String, String), Serialized Form

Constructor Summary
MorphologyRecognizeMatch(java.lang.String root)
          Constructs a new MorphologyRecognizeMatch class.
MorphologyRecognizeMatch(java.lang.String root, java.util.Collection previousTags, java.lang.String morphologyTag)
           
 
Method Summary
 java.util.Collection getMorphologyTags()
          Returns a Collection of Strings, one for each Morphology tag used to recognize the root form from the surface form.
 java.lang.String getRootString()
          Returns the root form string from this recognition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphologyRecognizeMatch

public MorphologyRecognizeMatch(java.lang.String root)
Constructs a new MorphologyRecognizeMatch class.

Parameters:
root - root form of the recognized word

MorphologyRecognizeMatch

public MorphologyRecognizeMatch(java.lang.String root,
                                java.util.Collection previousTags,
                                java.lang.String morphologyTag)
Method Detail

getRootString

public java.lang.String getRootString()
Returns the root form string from this recognition.

Returns:
the root form string

getMorphologyTags

public java.util.Collection getMorphologyTags()
Returns a Collection of Strings, one for each Morphology tag used to recognize the root form from the surface form.

Returns:
List of the Morphology tags
See Also:
LanguageMorphologyTable

Fido Alpha 3.2