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

Please Make ContextGenerator a Generic Type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0
    • Machine Learning
    • 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

              joern Jörn Kottmann
              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