- Rename
_AhocorasickNERimport inlookup_ner.py; update all usages including string type annotation on line 67 - Rename
_AhocorasickNERimport inlocations_ner.py; update usage in_build_automaton - Add
min_word_len: int = 5(keyword-only) toAhocorasickAnnotatorWrapper.__init__; store and forward totag() - Add
LookUpNER.add_word(label, word)method with automaton rebuild - Update
AhocorasickAnnotatorWrapperdocstring withmin_word_lenparam doc and dataset-loader example - Update
docs/index.mdAhocorasickAnnotatorWrappersection - Add tests:
min_word_lenforwarding (custom + default),LookUpNER.add_word, no-_AhocorasickNER-symbol check - Run
uv run pytest test/ -v --cov=simple_NER --cov-report=term-missing; confirm 462+ pass, coverage ≥ 89%