Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-870

Please Make ContextGenerator a Generic Type

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: Machine Learning
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joern Jörn Kottmann
                Reporter:
                druss Daniel Russ
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified