ch.uzh.ifi.attempto.chartparser
Class Preterminal

java.lang.Object
  extended by ch.uzh.ifi.attempto.chartparser.Category
      extended by ch.uzh.ifi.attempto.chartparser.Preterminal

public class Preterminal
extends Category

This class stands for a pre-terminal category.

Author:
Tobias Kuhn

Field Summary
 
Fields inherited from class ch.uzh.ifi.attempto.chartparser.Category
featureMap, name, specialCategories
 
Constructor Summary
Preterminal(java.lang.String name)
          Creates a new pre-terminal category.
 
Method Summary
protected  java.lang.String getType()
          This method returns the type of the category.
 void setFeatureMap(FeatureMap featureMap)
          Sets the feature map of this category.
 java.lang.String toString()
           
 
Methods inherited from class ch.uzh.ifi.attempto.chartparser.Category
addNegFeatureMap, addPosFeatureMap, canUnify, deepCopy, equals, getFeature, getFeatureMap, getFeatureNames, getFeatureValues, getName, getNegFeatureMaps, getPosFeatureMaps, isSimilar, isSpecialCategory, setFeature, setFeature, skolemize, subsumes, tryToUnify, unify
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preterminal

public Preterminal(java.lang.String name)
Creates a new pre-terminal category.

Parameters:
name - The name of the category.
Method Detail

setFeatureMap

public void setFeatureMap(FeatureMap featureMap)
Sets the feature map of this category.

Parameters:
featureMap - The new feature map.

getType

protected java.lang.String getType()
Description copied from class: Category
This method returns the type of the category. For example, "term" is returned for terminal categories and "nonterm" for non-terminal ones.

Specified by:
getType in class Category
Returns:
The type of the category.

toString

public java.lang.String toString()
Specified by:
toString in class Category


Copyright 2008-2012, AceWiki developers