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()
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()
loadParReader
public void loadParReader(URL specModelURL,
String markingStrategy,
String coveredRoot)
throws MaltChainedException
- Throws:
MaltChainedException
load
public void load(URL specModelURL)
throws MaltChainedException
- Throws:
MaltChainedException
getSpecificationModel
public SpecificationModel getSpecificationModel(URL url,
int specModelUrlIndex)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.