Load available language keys to process further matches
Load available language keys to process further matches
: text to match language against.
a map containing the matching languages.
Apply translation switching token where an index has been translated using the dictionary matching.
Apply translation switching token where an index has been translated using the dictionary matching.
: the translated index token to replace in text.
: the original text where translation is applied.
the text translated using token replacement.
Return one policy in [single, multi] associated to this translator
Load dictionary from supported language repository.
Load dictionary from supported language repository.
the language dictionary to load. Default is English.
a map containing the language dictionary or throws an exception.
Matches the indexed text token against the passed dictionary.
Process date matches with the source language.
Process date matches with the source language.
: the text to detect.
the detected language as tuple of matched languages with their frequency.
Translate the text from source language to destination language.
Translate the text from source language to destination language.
the source language.
the destination language.
the translated text from source language to destination language.
Translate sentence from source info.
Translate sentence from source info.
: sentence to translate.
: the source info map.
the translated sentence.