mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-14 14:02:52 +00:00
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
This commit is contained in:
parent
1c5b006c87
commit
ee638b407d
4 changed files with 5 additions and 92 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
import argparse
|
||||
from app.init import check_and_install_models, check_and_install_transliteration
|
||||
from app.init import check_and_install_models
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser()
|
||||
|
@ -10,4 +10,3 @@ if __name__ == "__main__":
|
|||
if len(lang_codes) == 0 or lang_codes[0] == '':
|
||||
lang_codes = None
|
||||
check_and_install_models(force=True, load_only_lang_codes=lang_codes)
|
||||
check_and_install_transliteration(force=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue