Questions tagged [machine-translation]

Machine Translation, a subfield of Natural Language Processing, is the automatic translation of human languages. While historical translators are based on Statistical Machine Translation, newer systems use Neural Networks which provide much better results.

Machine Translation is the automatic translation of human languages. Current examples include Google Translate, Yandex Translate, and Bing Translate, which all are based on Statistical Machine Translation. In the 1990s Babel Fish was the best known service - it used Rules-Based Translation.

In November 2016, Google also introduced a Machine Translation based on Neural Networks ((G)NMT). DeepL introduces a free Machine Translation Service in 2017 which provides measurably better results than Google Translate.

353 questions
0
votes
2 answers

Encoding error in PHP with Google Translate

I have some text which I need to translate into Japanese. Translate text, webpage, or document Google Translate returns the string as: 翻訳テキスト、 Webページ、またはドキュメント When I am writing that text to a file (ja.po), it looks like: –|–óƒeƒLƒXƒgA…
coderex
  • 27,225
  • 45
  • 116
  • 170
0
votes
1 answer

Moses - Online Integration

We're actually looking to integrate Moses into our localization workflow. Our application is in Java and we're looking at using Moses' functionalities using xml-rpc calls. Specifically, we're looking at APIs for: Incremental training (i.e. Avoid…
Sam
  • 131
  • 1
  • 5
-1
votes
1 answer

IndexError: Index out of range in self while implementing transformer model for translation

I am trying to implement a transformer model for the translation task, from some youtube tutorials. But I am getting the index out-of-range error. It seems The problem is with the input dimensions, but I can't figure it out. Here is the code (google…
-1
votes
1 answer

A non web based languge translator Java api

Is there a Java API that provides function to translate English to Spanish through local libraries? I understand Google and Yahoo provides multi-language translators but I'm looking for a non-web translator engine that can be used in Java.
-1
votes
2 answers

Collecting data for machine translation

I am interested in trying to make a machine translation for language accents and is curious for methods avaialable to collect data or how to make your own corpus with unlimited resource. Any good reference i could refer to or ideas?
luzzi
  • 1
-1
votes
1 answer

Defining dimension of NMT and image captioning with attention at the decoder part

I have been checking out models with attention in those tutorials below. https://www.tensorflow.org/tutorials/text/nmt_with_attention and https://www.tensorflow.org/tutorials/text/image_captioning In both tutorials, I do not understand the defining…
-1
votes
1 answer

What means accuracy in the results of the training of a seq2seq model?

I trained a machine translation model using recurrent networks in a seq2seq model. I get 48% of accuracy, what is the meaning of this??
VictorE23
  • 3
  • 3
-1
votes
1 answer

Using word2vec in a sentence

I'm trying to generate the probability of a given sentence to be be correct. I have word2vec for each token in the language and I want to predict the probability of the sentence to be correct. I'm unable to create a suitable model. How can I…
pr0py_s
  • 171
  • 9
-1
votes
1 answer

How to translate Dutch to English in Python using dictionary

I am trying to translate I am Jason using this code, but when I use it, it prints out nothing, unless I do one word like hello, then it prints out guten tag, but that's it. Plus, I can't turn the input data into lowercase to be able to compare it to…
-1
votes
1 answer

Is there any guide how to train a Microsoft custom MT engine and deploy it on Azure?

I have a big parallel corpus in TMX format which I'd like to use for training a custom Microsoft MT engine in the Microsoft Translator Hub. Then, I'd like to deploy this trained MT engine on Azure and use it in a cloud-based CAT tool. Is there any…
-1
votes
1 answer

Resources for programs teaching natural languages

What API's and data sets are available for use in programs to teach natural languages e.g. to aid in learning to read/write/listen/speak a 2nd language? These could be web or traditional API's to dictionaries, translation services, associations of…
grrussel
  • 7,209
  • 8
  • 51
  • 71
-2
votes
1 answer

Add "Formality" parameter to Google NL API

Is it possible to force the delivery of a more or less formal response via parameter for Google NL or the AutoML models? Other MTEs have this functionality but we've not been able to find anything similar while working with the REST API.
-2
votes
1 answer

Can I use BERT or BART for machine translation?

I am working on a project to use a pre-trained model and finetune it for customized language translations, for example from English to French. Is it possible to load these models in Tensorflow and run them to see how translations turn out and…
Ivditi Gabeskiria
  • 302
  • 1
  • 2
  • 9
-2
votes
1 answer

Removing duplicate lines and split parallel corpus

I have parallel translated corpus in English-French (text.en,text.fr), each text includes around 500K of lines (sentences in source and target languge). what I want is to: 1- Remove the duplicated lines in both texts using python command; and avoid…
-2
votes
1 answer

Are there some open translation data (include reference data and candidate data )to calculate BLEU score?

Are there are some open machine translation data include candidate and reference data for calculating BLEU scores. 100 rows data of candidate and reference data are ok for me to implement BLEU in python. Thanks!
tktktk0711
  • 1,656
  • 7
  • 32
  • 59
1 2 3
23
24