org.cogroo.tools.postag
Class PortuguesePOSContextGenerator

java.lang.Object
  extended by opennlp.tools.postag.DefaultPOSContextGenerator
      extended by org.cogroo.tools.postag.PortuguesePOSContextGenerator
All Implemented Interfaces:
opennlp.tools.postag.POSContextGenerator, opennlp.tools.util.BeamSearchContextGenerator<String>
Direct Known Subclasses:
PortugueseExtPOSContextGenerator

public class PortuguesePOSContextGenerator
extends opennlp.tools.postag.DefaultPOSContextGenerator


Constructor Summary
PortuguesePOSContextGenerator(opennlp.tools.dictionary.Dictionary dict)
           
PortuguesePOSContextGenerator(int cacheSize, opennlp.tools.dictionary.Dictionary dict)
           
 
Method Summary
 String[] getContext(int index, String[] sequence, String[] priorDecisions, Object[] additionalContext)
           
 
Methods inherited from class opennlp.tools.postag.DefaultPOSContextGenerator
getContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortuguesePOSContextGenerator

public PortuguesePOSContextGenerator(opennlp.tools.dictionary.Dictionary dict)

PortuguesePOSContextGenerator

public PortuguesePOSContextGenerator(int cacheSize,
                                     opennlp.tools.dictionary.Dictionary dict)
Method Detail

getContext

public String[] getContext(int index,
                           String[] sequence,
                           String[] priorDecisions,
                           Object[] additionalContext)
Specified by:
getContext in interface opennlp.tools.postag.POSContextGenerator
Specified by:
getContext in interface opennlp.tools.util.BeamSearchContextGenerator<String>
Overrides:
getContext in class opennlp.tools.postag.DefaultPOSContextGenerator


Copyright © 2012-2013 CoGrOO. All Rights Reserved.