ymoslem / desktoptranslator Goto Github PK
View Code? Open in Web Editor NEWLocal cross-platform machine translation GUI, based on CTranslate2
License: MIT License
Local cross-platform machine translation GUI, based on CTranslate2
License: MIT License
Hello. An error occurs in the DesktopTranslator program when translating from Turkish into English or another language. Is it possible to fix the error?
Error: 1
SentenceSplitterException Exception in Tk callback
Function: <bound method TranslatorGUI.translate_input of <main.TranslatorGUI object at 0x000002D11F17CC10>> (type: <class 'method'>)
Args: ()
Traceback (innermost last):
File "Pmw.py", line 1787, in call
File "translator.py", line 434, in translate_input
File "utils\paragraph_splitter.py", line 40, in paragraph_tokenizer
paragraph_sentences = split_text_into_sentences(paragraph, language)
File "sentence_splitter_init_.py", line 215, in split_text_into_sentences
File "sentence_splitter_init_.py", line 53, in init
Adım Ece ve on iki yaşındayım. Her sabah 7'de uyanırım, kahvaltımı yaparım ve okula giderim. Boş zamanlarımda bahçede kitap okumayı severim. Küçük bir erkek kardeşim var. Kardeşim üç yaşında ve resim yapmayı sever. Evde her gün top oynar ve şarkı söyler. Kardeşim ve ben makarna yemeyi severiz. Bazen mutfakta yemekleri biz hazırlarız.
Hi,
Thanks for your application but I have some problem:
When I want to end ش sentence with point, question mark or exclamation RTL (Right To Left) language, the point or mark goes before the sentence.
Please add bi-direction support to the GUI to display these languages and maybe enable two icons (LTR - RTL) to choose direction of the written or copied text to translate it.
How many hundred of millions who use Arabic in Arabic World!
How many hundred of millions who use Urdu in Pakistan and some states in India!
How many tens of millions who use Persian (Farsi) in Iran (original Persian) and Afghanistan (Dari: Afghani Persian)!
These three languages use RTL direction.
In the end, I see a place to choose the target language. You can add a place to choose source language of the text which must be translated for fast translation where none means not sure or mixed while rest of options are individual languages.
Thanks for reading.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.