Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2325

Allow specification of default lang for common words

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0, 1.15
    • Component/s: tika-eval
    • Labels:
      None

      Description

      In tika-eval, we count "common words" based on the output of language id. If we don't have a "common words" file for the identified language, we back off to the default language. This was hard-coded as "en", let's make this configurable.

      While we're at it, fix a bug that prevents counting common words in zh.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tallison Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: