org.cogroo.gc.cmdline.dictionary
Class TabSeparatedPOSDictionaryBuilderTool

java.lang.Object
  extended by opennlp.tools.cmdline.CmdLineTool
      extended by opennlp.tools.cmdline.BasicCmdLineTool
          extended by org.cogroo.gc.cmdline.dictionary.TabSeparatedPOSDictionaryBuilderTool

public class TabSeparatedPOSDictionaryBuilderTool
extends opennlp.tools.cmdline.BasicCmdLineTool


Constructor Summary
TabSeparatedPOSDictionaryBuilderTool()
           
 
Method Summary
 String getHelp()
           
 String getShortDescription()
           
static void parseOneEntryPerLine(Reader in, SortedMap<String,Set<Triple>> entries, TagInterpreter tago, TagInterpreter tagd, Set<String> knownFeats, Set<String> knownPostags, boolean allowInvalidFeats, boolean includeFeatures)
           
 void run(String[] args)
           
 
Methods inherited from class opennlp.tools.cmdline.CmdLineTool
getName, hasParams
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabSeparatedPOSDictionaryBuilderTool

public TabSeparatedPOSDictionaryBuilderTool()
Method Detail

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.