Kristian Rickert created OPENNLP-1893:
-----------------------------------------
Summary: Support Hunspell affix dictionaries for stemming
Key: OPENNLP-1893
URL: https://issues.apache.org/jira/browse/OPENNLP-1893
Project: OpenNLP
Issue Type: Improvement
Reporter: Kristian Rickert
Assignee: Kristian Rickert
Adds a stemmer implementation that reads standard Hunspell {{.dic}}/{{.aff}}
dictionary pairs, built on the {{StemmerFactory}} seam introduced in
OPENNLP-1883.
Supported affix features:
* alias compression (AF)
* NEEDAFFIX
* ONLYINCOMPOUND
* FORBIDDENWORD
* CIRCUMFIX
* compound word positioning, including linking forms as used in German compounds
Parsing is regex-free, and unsupported dictionary features fail loud at load
time rather than degrading silently. Dictionaries are user-supplied; nothing is
bundled. The manual gains a section whose example is asserted by a test.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)