Daniel Russ created OPENNLP-870:
-----------------------------------
Summary: Please Make ContextGenerator a Generic Type
Key: OPENNLP-870
URL: https://issues.apache.org/jira/browse/OPENNLP-870
Project: OpenNLP
Issue Type: Improvement
Components: Machine Learning
Reporter: Daniel Russ
Priority: Minor
public interface ContextGenerator<T> {
/**
* Builds up the list of contextual predicates given an Object.
*/
public String[] getContext(T o);
}
If this is a generic method, it makes writing ContextGenerators easier to debug
at compile time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)