# Python deps for the language-pack build scripts (build_latin_dict.py,
# build_target_pack.py, build_jmdict.py, etc.).
#
#   python3 -m venv .venv && . .venv/bin/activate && pip install -r scripts/requirements.txt
#
# build_latin_dict.py needs wordfreq (frequency cut + scoring) and
# snowballstemmer (stem-indexed headword rows, which must match Lucene's
# org.tartarus.snowball.ext.*Stemmer used by LatinEngine at runtime).
wordfreq
# >=2.0.0 for the Arabic stemmer (org.tartarus.snowball.ext.ArabicStemmer); must
# match the Lucene Snowball version LatinEngine uses at runtime.
snowballstemmer>=2.0.0
# build_zh_dict.py calls wordfreq.word_frequency(w, "zh"), and wordfreq imports
# jieba to tokenize Chinese. It is not a wordfreq dependency, so without this the
# zh build dies on its first CC-CEDICT entry.
jieba
