org.maltparser.core.feature.spec
Class SpecificationModels
java.lang.Object
org.maltparser.core.feature.spec.SpecificationModels
public class SpecificationModels
- extends Object
- Author:
- Johan Hall
SpecificationModels
public SpecificationModels(Configuration configuration)
throws MaltChainedException
- Throws:
MaltChainedException
add
public void add(int index,
String featureSpec)
throws MaltChainedException
- Throws:
MaltChainedException
add
public void add(String specModelName,
String featureSpec)
throws MaltChainedException
- Throws:
MaltChainedException
add
public void add(int index,
String subModelName,
String featureSpec)
throws MaltChainedException
- Throws:
MaltChainedException
add
public void add(String specModelName,
String subModelName,
String featureSpec)
throws MaltChainedException
- Throws:
MaltChainedException
getNextIndex
public int getNextIndex()
load
public void load(String specModelFileName)
throws MaltChainedException
- Throws:
MaltChainedException
load
public void load(URL specModelURL)
throws MaltChainedException
- Throws:
MaltChainedException
getSpecificationModel
public SpecificationModel getSpecificationModel(String specModelURL,
int specModelUrlIndex)
throws MaltChainedException
- Throws:
MaltChainedException
getConfiguration
public Configuration getConfiguration()
setConfiguration
public void setConfiguration(Configuration configuration)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2008 Johan Hall, Jens Nilsson and Joakim Nivre.