argos-translate | Open-source offline translation library written in Python

 by   argosopentech Python Version: v1.4.0 License: MIT

kandi X-RAY | argos-translate Summary

kandi X-RAY | argos-translate Summary

argos-translate is a Python library. argos-translate has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can install using 'pip install argos-translate' or download it from GitHub, GitLab, PyPI.

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

            kandi-support Support

              argos-translate has a medium active ecosystem.
              It has 1980 star(s) with 146 fork(s). There are 41 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 53 open issues and 141 have been closed. On average issues are closed in 72 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of argos-translate is v1.4.0

            kandi-Quality Quality

              argos-translate has 0 bugs and 0 code smells.

            kandi-Security Security

              argos-translate has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              argos-translate code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              argos-translate is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              argos-translate releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              argos-translate saves you 247 person hours of effort in developing the same functionality from scratch.
              It has 1230 lines of code, 103 functions and 17 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed argos-translate and discovered the below as its top functions. This is intended to give you an instant insight into argos-translate implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            argos-translate Key Features

            No Key Features are available at this moment for argos-translate.

            argos-translate Examples and Code Snippets

            Argos Train,Training example
            Pythondot img1Lines of Code : 17dot img1License : Permissive (MIT)
            copy iconCopy
            $ 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  
            Argos Train,Docker
            Pythondot img2Lines of Code : 2dot img2License : Permissive (MIT)
            copy iconCopy
            docker run -it argosopentech/argostrain /bin/bash
            
              
            Argos Train,Run training
            Pythondot img3Lines of Code : 2dot img3License : Permissive (MIT)
            copy iconCopy
            argos-train
            
              

            Community Discussions

            QUESTION

            Some Python modules don't show up on readthedocs.io despite appearing when generating Sphinx docs locally
            Asked 2020-Sep-15 at 08:40

            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:40

            Always 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:

            Source https://stackoverflow.com/questions/63893060

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install argos-translate

            Argos Translate is available from PyPI and can be installed with pip.
            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

            ArabicChineseEnglishFrenchGermanHindiItalianJapanesePolishPortugueseTurkishRussianSpanish
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/argosopentech/argos-translate.git

          • CLI

            gh repo clone argosopentech/argos-translate

          • sshUrl

            git@github.com:argosopentech/argos-translate.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link