Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-713

Allow to load any kind of OpenNLP Model with the OpenNLP service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • commons-0.11.0
    • Commons
    • None

    Description

      Currently the OpenNLP service provides only Methods to load models following the default naming conventions of OpenNLP. (e.g. getSentenceModel(String langauge) would try to load the model with the name "

      {language}

      -sent.bin").

      This suggests to add an additional Method that allows to load any type of model from any file available via the DataFileProvider framework

      <T> T getModel(Class<T> modelType, String modelName, Map<String,String> properties)

      Attachments

        Activity

          People

            rwesten Rupert Westenthaler
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: