Tonic Textual supports languages in addition to English. Textual automatically detects the language and applies the correct model.
On Textual Cloud, we support the following languages:
Chinese
German
Greek
Italian
Japanese
Norwegian (Bokmål)
Russian
Spanish
Ukrainian
On a self-hosted instance, to enable support any languages other than English, you must:
Configure Textual to support multiple languages
Provide the language models for the languages to support
Self-hosted customers can enable support for the following languages:
Catalan
Chinese
Croatian
Danish
Dutch
Finnish
French
German
Greek
Italian
Japanese
Korean
Lithuanian
Macedonian
Norwegian (Bokmål)
Polish
Portuguese
Romanian
Russian
Slovenian
Spanish
Swedish
Ukrainian
To enable support for languages other than English, set the environment variable TEXTUAL_MULTI_LINGUAL=true
.
The setting is used by the machine learning container.
For the languages to add, you must provide the language model assets for Textual to use.
By default, Textual looks for model assets in the machine learning container, in /usr/bin/textual/language_models. The default Helm and Docker Compose configurations include the volume mount.
To choose a different location, set the environment variable TEXTUAL_LANGUAGE_MODEL_DIRECTORY
. Note that if change the location, you must also modify your volume mounts.
For help with installing model assets, contact Tonic.ai support (support@tonic.ai).