org.maltparser.core.feature.spec
Class SpecificationModel
java.lang.Object
   org.maltparser.core.feature.spec.SpecificationModel
org.maltparser.core.feature.spec.SpecificationModel
- All Implemented Interfaces: 
- Iterable<SpecificationSubModel>
- public class SpecificationModel 
- extends Object- implements Iterable<SpecificationSubModel>
- Author:
- Johan Hall
 
 
 
SpecificationModel
public SpecificationModel()
                   throws MaltChainedException
- Throws:
- MaltChainedException
SpecificationModel
public SpecificationModel(String specModelName)
                   throws MaltChainedException
- Throws:
- MaltChainedException
add
public void add(String featureSpec)
         throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
add
public void add(String subModelName,
                String featureSpec)
         throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
getSpecModelName
public String getSpecModelName()
- 
 
- 
 
setSpecModelName
public void setSpecModelName(String specModelName)
- 
 
- 
 
iterator
public Iterator<SpecificationSubModel> iterator()
- 
- Specified by:
- iteratorin interface- Iterable<SpecificationSubModel>
 
- 
 
size
public int size()
- 
 
- 
 
getSpecSubModel
public SpecificationSubModel getSpecSubModel(String subModelName)
- 
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.