Open KonoromiHimaries opened 1 year ago
The idea of using a translator feature was requested before, but it was rejected thinking about the costs. If you know some light-weight package (low on dependency and size) in python, let me know.
I don't know, maybe https://github.com/galuhsahid/mariantranslate
The package uses this library for translation: https://github.com/Helsinki-NLP/Opus-MT
I am not sure how good the output will be. MTLs are generally not very readable.
For now i use this https://github.com/soimort/translate-shell at output text files and works somehow on google translator.
for f in *.txt; do trans -e google en:pl file://"$f" -o trans/"$f" ; done
It would be cool if the crawler would have, though machine-made, the ability to translate from the original, for example, english into your native language (everyone has his own)
See Bergamot Translator https://github.com/browsermt/bergamot-translator