argos-translate | Open-source offline translation library written in Python
kandi X-RAY | argos-translate Summary
kandi X-RAY | argos-translate Summary
Docs | Website | Video intro. Open-source offline translation library written in Python. Uses OpenNMT for translations, SentencePiece for tokenization, Stanza for sentence boundary detection, and PyQt for GUI. Designed to be used as either a Python library, command-line, or GUI application. LibreTranslate is an API and web-app built on top of Argos Translate.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return a list of hypotheses from the input text
- Returns a list of hypotheses from the input text
- Apply a translated translation
- Combine a list of paragraphs
- Split text into paragraphs
- Detects the sentence in the input text
- Compute the index of a sequence of sequences in the input_text
- Install a package
- Return a list of available packages
- Return list of installed packages
- Install all available packages
- Returns the translation for the given language
- Get a randomly from a list of urls
- Download url
- Get the protocol from the URL
- Translate from_code to_code
- Returns list of available languages
- Gets the translation of two languages
- Get a language by code
- Search packages
- Update the package index
- Parses the response text and returns the response
- Returns a list of hyphen hypotheses
- Return a list of hyphen hypotheses
- Translate input text
- Generates a simple test dialog for the example
argos-translate Key Features
argos-translate Examples and Code Snippets
$ su argosopentech
$ source ~/argos-train-init
...
$ argos-train
From code (ISO 639): en
To code (ISO 639): es
From name: English
To name: Spanish
Package version: 1.0
Argos version: 1.0
...
Package saved to /home/argosopentech/argos-train/run/e
Community Discussions
Trending Discussions on argos-translate
QUESTION
I'm trying to generate Sphinx documentation for a Python project and host the documentation using Read The Docs. The project code is here. When I run make clean && make html
to generate documentation locally the documentation generates and has all four of my Python modules:
Local Docs
I have Read The Docs connected to Github to generate documentation on a new commit and it successfully generates documentation for 2/4 of my Python modules but two of them don't appear. The Read The Docs build seems to run with no errors: Read The Docs
My local build has some warnings but they don't seem to be related to the documentation not appearing:
...ANSWER
Answered 2020-Sep-15 at 08:40Always check the RTD build log for "warning" or "error".
In your case, the latest build log has the following relevant warnings for the two modules that were not documented on RTD:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install argos-translate
Argos Translate is available from the Snap Store and auto installs a content snap to support translation between Arabic, Chinese, English, French, Russian, and Spanish. Additional languages can be installed from supplementary content snaps. Automatically installs and connects to argos-translate-base-langs snap to support translations between Arabic, Chinese, English, French, Russian, and Spanish.
argos-translate-de-en - German - English
argos-translate-en-it - English - Italian
argos-translate-en-pt - English - Portuguese
CTranslate2, the inference engine for Argos Translate, currently only distributes binaries for Linux and MacOS so to install Argos Translate on Windows you will need to build CTranslate2 from source.
Requires Python3, pip (which should come with Python3), and optionally virtualenv to keep Argos Translate's dependencies separate from other Python programs you have installed.
Download a copy of this repo (this requires either installing git or downloading a zip from GitHub):
Make a virtual environment to install into (optional):
Install this package with pip:
Any unzipped package files in package/ will be automatically included in the snap archive (and won't be able to be deleted by users of the snap). Note, the build won't run with Snapcraft's default build memory of 2GB so you need to set the SNAPCRAFT_BUILD_ENVIRONMENT environment variable. More on Snapcraft forum.
Install snapd if it isn't already installed.
Using snapd install snapcraft and its dependency multipass:
Clone this repo:
From the root directory of this project build the snap package:
Install the snap package:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page