Commit graph

268 commits

Author SHA1 Message Date
mammo0
7967c1b2c4 reload installed language models after updating them 2021-03-11 14:42:29 +01:00
mammo0
dd128162ef use appdirs to define path to polyglot data 2021-03-11 14:42:29 +01:00
mammo0
e0693d697e download the transliteration packages of polyglot during boot 2021-03-11 14:42:29 +01: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
d4cb859c8d removed langdetect dependency 2021-03-11 14:42:29 +01:00
mammo0
51980f6ff5 use polyglot for detecting the language 2021-03-11 14:42:29 +01:00
mammo0
9301ad0bda added polyglot to requirements.txt 2021-03-11 14:42:29 +01:00
Piero Toffanin
5c73cebd9c
Merge pull request #59 from mammo0/docker_include_models
Include language models into Docker image
2021-03-11 08:34:20 -05:00
mammo0
579cd76289 updated README 2021-03-11 07:23:22 +01:00
mammo0
76f069d472 add an option to include the language models into the Docker image
-> this allows the direct offline usage of the Docker image
2021-03-11 07:21:33 +01:00
Piero Toffanin
42ec04e4ff Bump version 2021-03-07 17:23:43 -05:00
Piero Toffanin
b8818ff14e updated argos, validate input JSON dict 2021-03-07 17:23:25 -05:00
Piero Toffanin
a86442f23c
Merge pull request #56 from sigaloid/patch-1
Add .net language binding
2021-03-03 10:02:06 -05:00
sigaloid
1a351ba71b
Add .net language binding 2021-03-03 14:20:19 +00:00
Piero Toffanin
d4b8d7f8ad
Merge pull request #53 from PJ-Finlay/main
Added link to node.js translate
2021-02-27 15:47:56 -05:00
P.J. Finlay
c91ac6adda
Added link to node.js translate
https://github.com/franciscop/translate
2021-02-27 09:27:14 -06:00
Piero Toffanin
5741e4c4f5
Merge pull request #50 from sigaloid/patch-1
Include reverse proxy instructions
2021-02-26 11:37:42 -05:00
sigaloid
80fdf4bcc2
Update README.md 2021-02-26 16:24:58 +00:00
sigaloid
fc77ef373d
Include reverse proxy instructions 2021-02-26 16:19:02 +00:00
Piero Toffanin
fa6e211d6d Merge branch 'main' of https://github.com/uav4geo/LibreTranslate into main 2021-02-26 09:58:38 -05:00
Piero Toffanin
3e952fbdb4 Fix Limiter: #49 2021-02-26 09:58:29 -05:00
Piero Toffanin
adbadded6b
Language bindings note 2021-02-26 09:07:02 -05:00
Piero Toffanin
4e0470f68c
Merge pull request #45 from ErQrYfkrju/main
fix static package_data for offline mode
2021-02-20 08:46:04 -05:00
ErQrYfkrju
f180d750fd
fix static package_data for offline mode
package_data 'static/*'  won`t include sub directories so offline mode would result in 404 for static resources under js, css, fonts
2021-02-18 21:44:26 +03:00
Piero Toffanin
90de8e22a0 API keys support, bug fixes, improvements 2021-02-15 13:30:28 -05:00
Piero Toffanin
092990cfb3
Update README.md 2021-02-10 18:20:19 -05:00
Piero Toffanin
3987200f05 Expose /languages as both GET and POST 2021-02-10 13:06:11 -05:00
Piero Toffanin
9434ee83b5
Merge pull request #42 from Trekky12/main
Add offline parameter
2021-02-10 12:22:55 -05:00
Tobias
50cf24a09c Merge branch 'main' of github.com:Trekky12/LibreTranslate into main 2021-02-10 17:57:57 +01:00
Tobias
42267eb8db Add offline parameter
Offline usage is possible after initializing and downloading of models
2021-02-10 17:52:03 +01:00
Piero Toffanin
ce0aced443
Merge pull request #41 from pierotofy/detect
Add /detect API
2021-02-10 11:05:48 -05:00
Piero Toffanin
53cf88f785 update readme 2021-02-10 11:05:23 -05:00
Piero Toffanin
2be93e45a2 Update main.py 2021-02-10 11:04:02 -05:00
Piero Toffanin
46fca61cc2 Add /detect API 2021-02-10 10:51:17 -05:00
Piero Toffanin
3156761037
Merge pull request #39 from vemonet/main
Add badges to the readme to display tests results and python versions
2021-02-09 20:38:39 -05:00
Vincent Emonet
ac149cb5d1 Add badges to the readme to display tests results and python versions from pypi 2021-02-10 01:01:24 +01:00
Piero Toffanin
485c63fd4f
Merge pull request #37 from vemonet/add-pip-packaging
Add pip packaging
2021-02-09 15:21:39 -05:00
Piero Toffanin
1b907c1703 Add info to setup.py, edit README 2021-02-09 15:20:46 -05:00
Vincent Emonet
c75c664058 Clean up tests 2021-02-09 18:00:11 +01:00
Vincent Emonet
5eea0e75e8 Fix __init__.py files 2021-02-09 15:30:14 +01:00
Vincent Emonet
17c1554c51 Fix test workflow 2021-02-09 15:25:05 +01:00
Vincent Emonet
d53e08b57e Add tests for argos boot 2021-02-09 15:21:53 +01:00
Vincent Emonet
9fe75094e0 fix license in setup.py 2021-02-09 14:46:11 +01:00
Vincent Emonet
7139b2f41b update Dockerfile and README 2021-02-09 14:17:06 +01:00
Vincent Emonet
a0760eb23f updated argos to 1.1.2, fix argos translate init and templates.html render 2021-02-09 14:12:32 +01:00
Vincent Emonet
90d743796b Start adding pip setup package requirements (setup.py, __init__.py, use pkg_resource) 2021-02-09 01:24:34 +01:00
Piero Toffanin
9191524c04 Updated argos translate to 1.1.0 2021-02-08 10:56:45 -05:00
Piero Toffanin
7eb5081f2a Removed models submodule 2021-02-08 10:41:27 -05:00
Piero Toffanin
01a4d3a57c
Merge pull request #31 from worldworm/main
Add frontend translation timeout parameter
2021-01-28 12:20:43 -05:00