modnlp.tc.util
public class IOUtil extends IOUtil
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARSER_PLUGIN_BASE |
static java.lang.String |
TSR_PLUGIN_BASE |
Constructor and Description |
---|
IOUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpCSVTable(CSVTable csvt,
java.lang.String filename) |
static void |
dumpProbabilityModel(TCProbabilityModel pm,
java.lang.String filename) |
static CSVTable |
loadCSVTable(java.lang.String filename) |
static Parser |
loadParserPlugin(java.lang.String plugin) |
static TCProbabilityModel |
loadProbabilityModel(java.lang.String filename) |
static TermFilter |
loadTSRPlugin(java.lang.String plugin) |
static void |
main(java.lang.String[] args) |
loadPlugin, loadPlugin
public static final java.lang.String PARSER_PLUGIN_BASE
public static final java.lang.String TSR_PLUGIN_BASE
public static void dumpProbabilityModel(TCProbabilityModel pm, java.lang.String filename)
public static TCProbabilityModel loadProbabilityModel(java.lang.String filename)
public static void dumpCSVTable(CSVTable csvt, java.lang.String filename)
public static CSVTable loadCSVTable(java.lang.String filename)
public static Parser loadParserPlugin(java.lang.String plugin) throws java.lang.Exception
java.lang.Exception
public static TermFilter loadTSRPlugin(java.lang.String plugin) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)