opennlp.tools.parser.treeinsert
Class CheckContextGenerator
java.lang.Object
opennlp.tools.parser.AbstractContextGenerator
opennlp.tools.parser.treeinsert.CheckContextGenerator
public class CheckContextGenerator
- extends AbstractContextGenerator
Methods inherited from class opennlp.tools.parser.AbstractContextGenerator |
checkcons, checkcons, cons, cons2, cons3, consbo, getFrontierNodes, production, punct, punctbo, surround |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckContextGenerator
public CheckContextGenerator(Set<String> punctSet)
getContext
public String[] getContext(Object arg0)
getContext
public String[] getContext(Parse parent,
Parse[] constituents,
int index,
boolean trimFrontier)
Copyright © 2010. All Rights Reserved.