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

Make the ConlluPOSSampleStream constructor public

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9.3
    • 2.1.1
    • POS Tagger
    • Windows

    Description

      The constructor for ConlluPOSSampleStream is currently package private as it does not have a public/private keyword before it. Making it public will allow an application to create that stream for use in training a POS model.

      The other conllu stream classes (ConlluStream, ConlluLemmaSampleStream, ConlluTokenSampleStream, ConlluSentenceSampleStream) have public constructors, allowing them to be used in training their respective models.

      The ConlluPOSSampleStreamFactory and ConlluLemmaSampleStreamFactory classes are marked as internal use only, and rely on an API suited to the opennlp cli. Note: ConlluSentenceSampleStreamFactory and ConlluTokenSampleStreamFactory are missing an internal use only comment, but should have one.

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            msclrhd Reece H. Dunn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: