edu.stanford.nlp.international.arabic
Class ArabicMorphoFeatureSpecification

java.lang.Object
  extended by edu.stanford.nlp.international.morph.MorphoFeatureSpecification
      extended by edu.stanford.nlp.international.arabic.ArabicMorphoFeatureSpecification
All Implemented Interfaces:
java.io.Serializable

public class ArabicMorphoFeatureSpecification
extends MorphoFeatureSpecification

Extracts morphosyntactic features from BAMA/SAMA analyses. Compatible with both the long tags in the ATB and the output of MADA.

Author:
Spence Green
See Also:
Serialized Form

Nested Class Summary
static class ArabicMorphoFeatureSpecification.ArabicMorphoFeatures
          Converts features specifications to labels for tagging
 
Nested classes/interfaces inherited from class edu.stanford.nlp.international.morph.MorphoFeatureSpecification
MorphoFeatureSpecification.MorphoFeatureType
 
Field Summary
 
Fields inherited from class edu.stanford.nlp.international.morph.MorphoFeatureSpecification
activeFeatures, LEMMA_MARK, MORPHO_MARK, NO_ANALYSIS
 
Constructor Summary
ArabicMorphoFeatureSpecification()
           
 
Method Summary
 java.util.List<java.lang.String> getValues(MorphoFeatureSpecification.MorphoFeatureType feat)
           
static void main(java.lang.String[] args)
          For debugging.
 MorphoFeatures strToFeatures(java.lang.String spec)
          Hand-written rules to convert SAMA analyses to feature structures.
 
Methods inherited from class edu.stanford.nlp.international.morph.MorphoFeatureSpecification
activate, isActive, splitMorphString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArabicMorphoFeatureSpecification

public ArabicMorphoFeatureSpecification()
Method Detail

getValues

public java.util.List<java.lang.String> getValues(MorphoFeatureSpecification.MorphoFeatureType feat)
Specified by:
getValues in class MorphoFeatureSpecification

strToFeatures

public MorphoFeatures strToFeatures(java.lang.String spec)
Hand-written rules to convert SAMA analyses to feature structures.

Specified by:
strToFeatures in class MorphoFeatureSpecification

main

public static void main(java.lang.String[] args)
For debugging. Converts a set of long tags (BAMA analyses as in the ATB) to their morpho feature specification. The input file should have one long tag per line.

Parameters:
args -


Stanford NLP Group