You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Daniel Russ (JIRA)" <ji...@apache.org> on 2016/10/21 13:37:58 UTC
[jira] [Created] (OPENNLP-870) Please Make ContextGenerator a
Generic Type
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)