opennlp.tools.parser.treeinsert
Class CheckContextGenerator

java.lang.Object
  extended by opennlp.tools.parser.AbstractContextGenerator
      extended by opennlp.tools.parser.treeinsert.CheckContextGenerator

public class CheckContextGenerator
extends AbstractContextGenerator


Constructor Summary
CheckContextGenerator(Set<String> punctSet)
           
 
Method Summary
 String[] getContext(Object arg0)
           
 String[] getContext(Parse parent, Parse[] constituents, int index, boolean trimFrontier)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckContextGenerator

public CheckContextGenerator(Set<String> punctSet)
Method Detail

getContext

public String[] getContext(Object arg0)

getContext

public String[] getContext(Parse parent,
                           Parse[] constituents,
                           int index,
                           boolean trimFrontier)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.