Commit graph

10 commits

Author SHA1 Message Date
Piero Toffanin
c3548bffe1 Memoize 2022-03-04 10:24:29 -05:00
Ali Sherief
e23b96f1da Fix language detection error
The root cause was load_installed_languages() of argostranslate
being called at the top of the file instead of inside a function,
this caused the list of installed languages to incorrectly be
returned as an empty list.
2022-03-04 08:23:11 +00:00
PalmerAL
c29cecbb63 improve auto-detect for batch requests with multiple languages 2021-08-02 00:06:56 -05:00
YOGESHWARAN R
32061eed7b
Fixed all pep8 errors
Removed unused imports, variables
2021-05-18 09:21:33 +05:30
YOGESHWARAN R
202db95f52
Linted with black 2021-05-18 09:11:02 +05:30
Piero Toffanin
79224edfe4 Catch unknown language 2021-03-12 10:53:09 -05:00
mammo0
25fb3b3c21 added transliteration before actual translation
-> e.g. if the source language is Russian, argostranslate expects a
cyrillic text
2021-03-11 14:42:29 +01:00
mammo0
36fee9bf1b allow batch processing for language detection 2021-03-11 14:42:29 +01:00
mammo0
51980f6ff5 use polyglot for detecting the language 2021-03-11 14:42:29 +01:00
Piero Toffanin
1062ef2713 First commit 2020-12-19 17:40:37 -05:00