Questions tagged [moses]

A statistical machine translation system.

For more details see the Homepage.

53 questions
1
vote
1 answer

How to get phrase tables from word alignments?

The output of my word alignment file looks as such: I wish to say with regard to the initiative of the Portuguese Presidency that we support the spirit and the political intention behind it . In bezug auf die Initiative der portugiesischen…
alvas
  • 115,346
  • 109
  • 446
  • 738
1
vote
0 answers

modify moses.ini for incremental training

I need to update the following moses.ini to support incremental training, I followed the tutorial and I found that I must add this line in moses.ini file PhraseDictionaryDynSuffixArray source= target=
Aamer
  • 258
  • 3
  • 14
1
vote
2 answers

GIZA++ - How is alignment score calculated?

This might be more of a math problem, but I couldn't find any relevant document elsewhere. I just want to figure out which equation is used to calculate alignment score in GIZA++. Might anyone have an idea? Thank you for your help in advance.
CosmicRabbitMediaInc
  • 1,165
  • 4
  • 21
  • 32
1
vote
1 answer

Translation system of arabic to english in the right format

I am setting up a Moses Machine Translation System from Arabic to English. In which format should the arabic text file be, should I input the text file as it is or should I reverse the word order of each sentence? In other words, does the Moses…
heidi
  • 11
  • 2
1
vote
1 answer

How to write this perticular command without echo concatenation?

I am using this command as given in the tutorial here http://www.statmt.org/moses/?n=Moses.Baseline echo 'T W O N E I G H T' | /home/saj/g2p/mosesdecoder-master/bin/moses -f /home/saj/g2p/working/binarised-model/moses.ini It is working fine and…
saj1919
  • 81
  • 1
  • 8
1
vote
1 answer

C++ - locale name not valid exception when running Moses decoder

I've successfully compiled Moses (v0.91) on my machine (Windows 7 64-bit) by following the steps described here. However when I try to run it for the first time by running this command in cygwin: cd…
jpen
  • 2,129
  • 5
  • 32
  • 56
0
votes
1 answer

Using MOSES or PHRASER to translate in python?

I'm trying to use statistical machine translations in python, and so far, I've been mostly using translate library. However, I heard that Moses, Phraser do a better job of machine translations, so I was wondering if there are ways of using them in…
user98235
  • 830
  • 1
  • 13
  • 31
0
votes
0 answers

How to write Moses decoder translations into a file?

I'm trying to test the Moses decoder. I have huge amounts of data and I need to record their translations into a file. I mean giving all the data to Moses and recording the translations into a file. Is there anyone who can help me? I have used this…
nsmahdavi
  • 11
  • 3
0
votes
1 answer

Error Compiling Moses. No dist folder or moses.ini file

I'm a beginner programmer, so I'm still trying to get a hold of things. Please be gentle. I'm trying to install and compile Moses (http://www.statmt.org/moses/?n=Development.GetStarted) on OS X but I'm running into quite a few problems. I've been…
user6862160
0
votes
1 answer

How to specify custom boost directory to mgiza for moses?

I downloaded mosesdecoder and compiled it successfully. Since there were a few boost errors with difference in versions, I installed boost in custom directory. I'm trying to install mgiza with custom boost install now. In the moses additional…
Hans K
  • 4,153
  • 2
  • 13
  • 19
0
votes
3 answers

Parsing a Moses config file

Given a config file as such from the Moses Machine Translation Toolkit: ######################### ### MOSES CONFIG FILE ### ######################### # input factors [input-factors] 0 # mapping steps [mapping] 0 T 0 [distortion-limit] 6 #…
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
0 answers

Moses on windows via cygwin - boost does not seem to be installed or g++ is confused

I want to use the machine translation tool Moses on Windows platform with cygwin. I have the "boost" lib installed from Cygwin(libboost_XXX.dll.a under /cygwin64/lib/). When I tried to compile mosesdecoder (I have copied it under cygwin folder), but…
0
votes
2 answers

How to compile Moses with XMLRPC support?

I've installed libxmlrpc-core-c3-dev package (using aptitude) and irstlm in /opt/moses After that I run ./bjam -j4 --with-irstlm=/opt/moses/irstlm --with-xmlrpc-c=/usr/ --prefix=/opt/moses > install.txt Looks like everything is installed…
Enlightened
  • 239
  • 2
  • 13
0
votes
1 answer

why does ./regenerate-makefiles.sh gives error to compile irstlm

I've got a problem compiling irstlm. I've extracted it following the steps from moses and tried another way, but I always get this error: bash: ./regenerate-makefiles.sh: No such file or directory
0
votes
2 answers

Error when trying moses's sample-models

After successfully installing moses in my laptop(Ubuntu13.04), I try to run the sample-models(Run moses for the first time). I wget sample-models.tgz and extract it in the folder. And then run the command: ~/mosesdecoder/bin/moses -f…
JavaNoScript
  • 2,345
  • 21
  • 27