org.maltparser.core.dataformat
Class DataFormatSpecification
java.lang.Object
org.maltparser.core.dataformat.DataFormatSpecification
public class DataFormatSpecification
- extends Object
- Since:
- 1.0
- Author:
- Johan Hall
logger
protected org.apache.log4j.Logger logger
entryPositionCounter
protected int entryPositionCounter
name
protected String name
entries
protected SortedSet<DataFormatEntry> entries
DataFormatSpecification
public DataFormatSpecification(org.apache.log4j.Logger logger)
createDataFormatInstance
public DataFormatInstance createDataFormatInstance(SymbolTableHandler symbolTables,
String specialSymbolsfileName,
String rootLabel)
throws MaltChainedException
- Throws:
MaltChainedException
parseDataFormatXMLfile
public void parseDataFormatXMLfile(String fileName)
throws MaltChainedException
- Throws:
MaltChainedException
addEntry
public void addEntry(String name,
String category,
String type,
String defaultOutput)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.