org.cogroo.gc.cmdline.dictionary
Class TabSeparatedPOSDictionaryBuilderTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
org.cogroo.gc.cmdline.dictionary.TabSeparatedPOSDictionaryBuilderTool
public class TabSeparatedPOSDictionaryBuilderTool
- extends opennlp.tools.cmdline.BasicCmdLineTool
Methods inherited from class opennlp.tools.cmdline.CmdLineTool |
getName, hasParams |
TabSeparatedPOSDictionaryBuilderTool
public TabSeparatedPOSDictionaryBuilderTool()
getShortDescription
public String getShortDescription()
- Overrides:
getShortDescription
in class opennlp.tools.cmdline.CmdLineTool
getHelp
public String getHelp()
- Specified by:
getHelp
in class opennlp.tools.cmdline.CmdLineTool
run
public void run(String[] args)
- Specified by:
run
in class opennlp.tools.cmdline.BasicCmdLineTool
parseOneEntryPerLine
public static void parseOneEntryPerLine(Reader in,
SortedMap<String,Set<Triple>> entries,
TagInterpreter tago,
TagInterpreter tagd,
Set<String> knownFeats,
Set<String> knownPostags,
boolean allowInvalidFeats,
boolean includeFeatures)
throws IOException
- Throws:
IOException
Copyright © 2012-2013 CoGrOO. All Rights Reserved.