[
https://issues.apache.org/jira/browse/OPENNLP-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15776648#comment-15776648
]
ASF GitHub Bot commented on OPENNLP-870:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/opennlp/pull/19
> 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
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)