Graphical user interface for Argos Translate

Overview
Comments
  • [solved] argos-translate-gui is broken after QT5 update

    [solved] argos-translate-gui is broken after QT5 update

    Hello, need help to get argos-translate-gui to work again after QT5 update:

    Error message: Cannot mix incompatible Qt library (5.15.2) with this library (5.15.3) Aborted (core dumped)

    I already tried to fix the issue and made the update of: qt5-styleplugins 5.0.0.20170311-28

    But it did not help. Thanks for help, Kind regards, Michael

    opened by 7MS8 1
  • lang pair downloader needs crash recovery

    lang pair downloader needs crash recovery

    When using the GUI to fetch a new language pair, the process crashed out of the pure blue without reason. The GUI window disappeared, and the terminal showed a dump of how many bytes were fetched and how many were not. It did not say why it crashed, but after eating up ~80mb of a measured rate service I was stuffed. I switched to the CLI method (argospm) in hopes of getting more verbosity. I got zero verbosity and not only that but it started over from the beginning. It should have already had ~99% of the file.

    Apparently the GUI downloader uses different code than argospm (as they are storing the data in different locations). So the GUI and argospm both need a crash recovery mechanism. This bug report is for the GUI downloader.

    opened by bruceleerabbit 1
  • translation pair storage inconsistent with CLI app

    translation pair storage inconsistent with CLI app

    Mirroring this bug here:

    https://github.com/argosopentech/argos-translate/issues/253

    It’s actually the GUI side that should address this problem because it’s the GUI that fails to document the storage location.

    This command should tell me where the GUI-fetched lang pair data ended up:

    find ~ -iname \*argosmodel
    

    But no, it only shows one file:

    ~/.local/cache/argos-translate/downloads/translate-fr_en.argosmodel

    That file was fetched using argospm. There should be another file for a different language pair that was fetched using the GUI. Where did that data go?

    (edit) It seems the GUI downloader is storing the data in an unpacked format, so it creates: ~/share/argos-translate/packages/«lang pair»/model/model.bin

    In fact, it seems all lang pairs are stored in ~/share/argos-translate/packages/, the GUI and CLI just have a difference in cleanup procedures, assuming the *argosmodel file is temporary and discardable.

    opened by bruceleerabbit 0
  • (enhancement) open with a clear form and give a button to clear the form

    (enhancement) open with a clear form and give a button to clear the form

    Usually the text that will be entered as a query on the left is in the clipboard. But then there is text already in the field saying “text to translate from”. When pasting the clipboard in that box, the msg does not clear, so the “text to translate from” becomes part of the translation. If the text is removed at that point, then it takes a very long time to reprocess the whole translation again. And the new request does not interrupt the backend process that’s still working on the 1st snip of text, so both versions must be fully translated before the user can see the result.

    Suppose the user clears the hint text first, and in the fastest way possible (by selecting all the text and hitting delete). The act of selecting the text clobbers the clipboard in many linux desktop managers, so they must recopy the text. But if the text is removed by hitting delete one character at a time, then the backend works to submit a new translation each time a character is removed.

    opened by bruceleerabbit 0
  • (docs) no man page and no (-h) help option

    (docs) no man page and no (-h) help option

    After using this installation procedure (as root):

    pip3 install --log-file ~/log/pip3-argostranslategui.err --log ~/log/pip3-argostranslategui.log --cache-dir /usr/local/pkgs argostranslategui

    No man page was created. And when running argos-translate-gui -h, the GUI app is launched without giving help output. There should be a help page no matter how trivial it is so that users at least see that there are no options. Some things that should be covered by the help page:

    • Since the GUI does take the liberty of connecting to the Internet (to download lang pairs), users would expect to see a --proxy option or absence thereof.

    • A “bugs” section to tell users where to report bugs. (Which btw would ideally not force users to interact with MS Github.)

    • Information about where lang pair libs are stored, most particularly because this differs from the CLI version.

    doc bug 2:

    These installation instructions should tell users how to install it systemwide (as root) and how to install it individually for one user:

    https://github.com/argosopentech/argos-translate-gui#install

    ATM it makes no mention of root, but it should say to run as root if that’s the only way. I know from experimentation that those instructions work for root but I’ve not tested as a user.

    Those installation instructions should also disclose 2 sizes: the download size for bandwidth calculations (for those on measured rate connections) and the installation size after everything is unpacked. Normal mainstream package managers (like aptitude) generally give users that info by design, but since pip3 is quite underdeveloped it does not give that info so it should be documented.

    pip3 quietly dumps downloaded installation files in /tmp/ without telling users where the files are. This is dicey particularly if the download is interrupted. So I would propose suggesting use of the --cache-dir option to users. It might sound like too much hand-holding, but pip3 is a developer tool -- it was never intended for normal users. And pip3 is very poorly documented. That is, the man page and help page are inconsistent with each other and with what the software does.

    enhancement good first issue 
    opened by bruceleerabbit 2
Owner
Argos Open Tech
Argos Open Tech
Translate - a PyTorch Language Library

NOTE PyTorch Translate is now deprecated, please use fairseq instead. Translate - a PyTorch Language Library Translate is a library for machine transl

null 678 Feb 15, 2021
Auto translate textbox from Japanese to English or Indonesia

priconne-auto-translate Auto translate textbox from Japanese to English or Indonesia How to use Install python first, Anaconda is recommended Install

Aji Priyo Wibowo 5 Aug 25, 2022
translate using your voice

speech-to-text-translator Usage translate using your voice description this project makes translating a word easy, all you have to do is speak and...

null 1 Oct 18, 2021
translate using your voice

speech-to-text-translator Usage translate using your voice description this project makes translating a word easy, all you have to do is speak and...

null 1 Oct 18, 2021
This program do translate english words to portuguese

Python-Dictionary This program is used to translate english words to portuguese. Web-Scraping This program use BeautifulSoap to make web scraping, so

João Assalim 1 Oct 10, 2022
Tool which allow you to detect and translate text.

Text detection and recognition This repository contains tool which allow to detect region with text and translate it one by one. Description Two pretr

Damian Panek 176 Nov 28, 2022
Translate U is capable of translating the text present in an image from one language to the other.

Translate U is capable of translating the text present in an image from one language to the other. The app uses OCR and Google translate to identify and translate across 80+ languages.

Neelanjan Manna 1 Dec 22, 2021
A telegram bot to translate 100+ Languages

?? GOOGLE TRANSLATER ?? The owner would not be responsible for any kind of bans due to the bot. • ⚡ INSTALLING ⚡ • • ?? Deploy To Railway ?? • • ✅ OFF

Aɴᴋɪᴛ Kᴜᴍᴀʀ 5 Dec 20, 2021
Takes a string and puts it through different languages in Google Translate a requested amount of times, returning nonsense.

PythonTextObfuscator Takes a string and puts it through different languages in Google Translate a requested amount of times, returning nonsense. Requi

null 2 Aug 29, 2022
Simple Python script to scrape youtube channles of "Parity Technologies and Web3 Foundation" and translate them to well-known braille language or any language

Simple Python script to scrape youtube channles of "Parity Technologies and Web3 Foundation" and translate them to well-known braille language or any

Little Endian 1 Apr 28, 2022
MicBot - MicBot uses Google Translate to speak everyone's chat messages

MicBot MicBot uses Google Translate to speak everyone's chat messages. It can al

null 2 Mar 9, 2022
Input english text, then translate it between languages n times using the Deep Translator Python Library.

mass-translator About Input english text, then translate it between languages n times using the Deep Translator Python Library. How to Use Install dep

null 2 Mar 4, 2022
Use the state-of-the-art m2m100 to translate large data on CPU/GPU/TPU. Super Easy!

Easy-Translate is a script for translating large text files in your machine using the M2M100 models from Facebook/Meta AI. We also privide a script fo

Iker García-Ferrero 41 Dec 15, 2022
Question answering app is used to answer for a user given question from user given text.

Question answering app is used to answer for a user given question from user given text.It is created using HuggingFace's transformer pipeline and streamlit python packages.

Siva Prakash 3 Apr 5, 2022
Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Depenencies

PyStanfordDependencies Python interface for converting Penn Treebank trees to Universal Dependencies and Stanford Dependencies. Example usage Start by

David McClosky 64 May 8, 2022
Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

TextDistance TextDistance -- python library for comparing distance between two or more sequences by many algorithms. Features: 30+ algorithms Pure pyt

Life4 3k Jan 6, 2023
Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

TextDistance TextDistance -- python library for comparing distance between two or more sequences by many algorithms. Features: 30+ algorithms Pure pyt

Life4 1.9k Feb 18, 2021
Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

Flexible interface for high performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra. What is Lightning Tran

Pytorch Lightning 581 Dec 21, 2022
Natural language computational chemistry command line interface.

nlcc Install pip install nlcc Must have Open-AI Codex key: export OPENAI_API_KEY=<your key here> then nlcc key bindings ctrl-w copy to clipboard (Note

Andrew White 37 Dec 14, 2022