ICTRC / Parsivar

A Language Processing Toolkit for Persian
MIT License
226 stars 34 forks source link

Support for stateless environments added to SpellCheck #16

Open Mehralian opened 2 years ago

Mehralian commented 2 years ago

This PR adds support for stateless environments in clouds, the change enables the package to get the language model files from different sources except than just the default path under package __file__. In some containerized environments it's hard to get the file from an external source and write it to the file system to be used by the package, the PR helps to get the files and directly feed it into the package without writing it to disk.