You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
replace python-based Ukrainian lemmatizer in docker image with native built-in lemmatizer #127
After manticoresoftware/manticoresearch#4414 is merged we nned to update the Docker image to use the new native built-in Ukrainian lemmatizer instead of the old pymorphy2-based setup
current docker image still includes the old Ukrainian lemmatizer path:
Dockerfile installs manticore-lemmatizer-uk
Dockerfile installs Python 3.9, pymorphy2, and pymorphy2-dicts-uk for lemmatize_uk
PYTHONWARNINGS is set for pymorphy2.analyzer
once the native Ukrainian lemmatizer is available in manticore packages we need to remove the Python runtime and pymorphy2 dependency chain from the Docker image and rely on the native asset-backed implementation.
That should allow:
daster docker image builds
smaller image and dependency surface
fewer python/pip/CVE maintenance issues
Ukrainian morphology should continue to work with morphology = 'lemmatize_uk'
The generated test-kit image was also inspected manually and confirmed to have:
/usr/share/manticore/uk.pak
manticore-language-packs 1.0.15-260430-eadde16
no manticore-lemmatizer-uk
no /usr/local/lib/manticore/lemmatize_uk.so
no Python 3.9 / pymorphy2 stack
Runtime probe also passed:
CALL KEYWORDS('бігаю', 'test_uk');
returned normalized form:
бігати
Closing this issue as fixed for the current/dev Docker image and downstream test-kit path.
Note: the default DEV=0 release Docker path still needs separate prerelease validation once the hardcoded release package set is moved to a Manticore server build that includes the native Ukrainian lemmatizer.
Activity
tomatolog commentedon May 2, 2026
Fixed.
Related changes:
Main Manticore built-in Ukrainian lemmatizer support:
af564220b42ee8709bf811a8794570b34d30aa24Language packs now include
uk.pak:eadde16d4108ea19b9f3b654d5219305e9d9d0efmanticore-language-packs 1.0.15-260430-eadde16Docker image no longer installs the legacy Ukrainian Python/plugin stack:
7a460302615ef799d994a96d7703aae236822f1eValidated:
Docker repo CI passed:
Main repo downstream test-kit validation passed:
The generated test-kit image was also inspected manually and confirmed to have:
/usr/share/manticore/uk.pakmanticore-language-packs 1.0.15-260430-eadde16manticore-lemmatizer-uk/usr/local/lib/manticore/lemmatize_uk.sopymorphy2stackRuntime probe also passed:
returned normalized form:
Closing this issue as fixed for the current/dev Docker image and downstream test-kit path.
Note: the default
DEV=0release Docker path still needs separate prerelease validation once the hardcoded release package set is moved to a Manticore server build that includes the native Ukrainian lemmatizer.