Skip to content

Offline dictionary

dictionary

This provides a dictionary with English text on key and Odia text as value @author: Soumendra Kumar Sahoo @license: MIT

get_dictionary cached

get_dictionary() -> dict[str, str]

Return the offline dictionary.

The dictionary file is quite large and reading it multiple times slows down the translation utilities. Cache the loaded content so subsequent calls are served from memory.