1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-19 14:00:10 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
P.J. Finlay
ee638b407d Remove Polyglot transliteration library
The model server for the Polyglot transliteration library is currently
down and the project looks unmaintained; this currently is breaking
LibreTranslate installs. This commit removes Polyglot for
transliteration but keeps using Polyglot for language detection.

- https://github.com/LibreTranslate/LibreTranslate/issues/344
- https://community.libretranslate.com/t/improving-transliteration-in-libretranslate/400
2022-11-16 08:59:11 -06:00
dingedi
c66a519751
restore formatting only if transliteration dont fail 2022-09-23 14:20:22 +02:00
dingedi
077d6e9efa
move and improve_translation in language.py, use it for transliteration 2022-09-23 13:59:13 +02:00
P.J. Finlay
278a7057e4
Upgrade deprecated Argos Translate call
- load_installed_languages has been deprecated in favor of get_installed_languages
2022-04-30 06:15:54 -05:00
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