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

WordVectorTable should reference WVs by String

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.4
    • word vectors
    • None

    Description

      WordVectorsTable API retrieves WordVector via CharSequence , this is suboptimal as implementors could store such WVs via an hash table (e.g. MapWordVectorsTable) and the value of CharSequence#toString is not guaranteed to be the stable.
      Additionally it's more common to have words as Strings rather than CharSequences, being that more consistent with other OpenNLP APIs (e.g. Tokenizer ).

      So WordVectorsTable should instead retrieve {{WordVector}}s using String.

      Attachments

        Issue Links

          Activity

            People

              teofili Tommaso Teofili
              teofili Tommaso Teofili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: