edu.stanford.nlp.international.arabic
Class ArabicMorphoFeatureSpecification.ArabicMorphoFeatures

java.lang.Object
  extended by edu.stanford.nlp.international.morph.MorphoFeatures
      extended by edu.stanford.nlp.international.arabic.ArabicMorphoFeatureSpecification.ArabicMorphoFeatures
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ArabicMorphoFeatureSpecification

public static class ArabicMorphoFeatureSpecification.ArabicMorphoFeatures
extends MorphoFeatures

Creates tags that conform to the default "DT" prefix used elsewhere in the codebase

Author:
Spence Green
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.stanford.nlp.international.morph.MorphoFeatures
altTag, fSpec, KEY_VAL_DELIM
 
Constructor Summary
ArabicMorphoFeatureSpecification.ArabicMorphoFeatures()
           
 
Method Summary
 MorphoFeatures fromTagString(java.lang.String str)
          Assumes that the tag string has been formed using a call to getTag().
 java.lang.String getTag(java.lang.String baseTag)
          Build a POS tag consisting of a base category plus inflectional features.
 
Methods inherited from class edu.stanford.nlp.international.morph.MorphoFeatures
addFeature, getAltTag, getValue, hasFeature, numActiveFeatures, numFeatureMatches, setAltTag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArabicMorphoFeatureSpecification.ArabicMorphoFeatures

public ArabicMorphoFeatureSpecification.ArabicMorphoFeatures()
Method Detail

fromTagString

public MorphoFeatures fromTagString(java.lang.String str)
Description copied from class: MorphoFeatures
Assumes that the tag string has been formed using a call to getTag(). As such, it removes the basic category from the feature string.

Note that this method returns a new MorphoFeatures object. As a result, it behaves like a static method, but is non-static so that subclasses can override this method.

Overrides:
fromTagString in class MorphoFeatures
Returns:

getTag

public java.lang.String getTag(java.lang.String baseTag)
Description copied from class: MorphoFeatures
Build a POS tag consisting of a base category plus inflectional features.

Overrides:
getTag in class MorphoFeatures
Returns:
the tag


Stanford NLP Group