Re: [Moses-support] how to give text file as input to moses without saving its content

2016-01-25 Thread Apurva Joshi
i got solution On Mon, Jan 25, 2016 at 4:30 PM, Apurva Joshi <apurvajoshi1...@gmail.com> wrote: > hello all, > i designed MT for english-hindi pair > and now i am creating website of my MT > > my shell script is > > cd /home/techmahindra/only_MT > >

[Moses-support] how to give text file as input to moses without saving its content

2016-01-25 Thread Apurva Joshi
hello all, i designed MT for english-hindi pair and now i am creating website of my MT my shell script is cd /home/techmahindra/only_MT cat /home/techmahindra/input.txt > only_moses_sentence.txt /home/techmahindra/mosesdecoder-RELEASE-3.0/bin/moses -f

[Moses-support] how to cross compile moses binary on Raspberry Pi 2 model B

2015-11-25 Thread Apurva Joshi
hello all, i run moses on pc which does not contain moses successfully , by copying moses.ini phrase table reordering table LM moses( binary from ~/mosesdecoder/bin/moses) i copied above files to pc which does not contain moses and then on that pc i ran moses -f moses.ini its worked... NOW

Re: [Moses-support] how to cross compile moses binary on Raspberry Pi 2 model B

2015-11-25 Thread Apurva Joshi
> i also have a raspberry pi. If you find out how, i would love to know! > > > On 25/11/2015 08:27, Apurva Joshi wrote: > > hello all, > > i run moses on pc which does not contain moses successfully , by copying > > moses.ini > phrase table > reordering table >

Re: [Moses-support] problem in generating phrase table after tuning

2015-11-17 Thread Apurva Joshi
line, the script > $MOSES/scripts/ems/support/substitute-weights.perl > substitutes weights in the original moses.ini with > the tuned weights. > > -phi > > > On Tue, Nov 17, 2015 at 2:17 AM, Apurva Joshi <apurvajoshi1...@gmail.com> > wrote: > >> hello , >

[Moses-support] problem in generating phrase table after tuning

2015-11-16 Thread Apurva Joshi
hello , initially i trained with corpora containing 7 lac sentnses...i trained it..and its giving good translation... then for tuning i took new small size corpora containing 2k lines now i run tuning with this new processed corpora as input along with my moses.ini (generated after

[Moses-support] Fwd: not getting proper translation even after tuning

2015-11-15 Thread Apurva Joshi
-- Forwarded message -- From: Apurva Joshi <apurvajoshi1...@gmail.com> Date: Sun, Nov 15, 2015 at 2:56 PM Subject: Re: [Moses-support] not getting proper translation even after tuning To: Hieu Hoang <hieuho...@gmail.com> hi hieu m not getting about what u said a

[Moses-support] not getting proper translation even after tuning

2015-11-15 Thread Apurva Joshi
hello, i done with tuning, after tuning i observed that , there is only 0.5% improvement in translated op as compared to translation without tuning.. i used mert method i used following command to do tuning cd ~/working nohup nice ~/mosesdecoder-RELEASE-3.0/ \ scripts/training/mert-moses.pl

[Moses-support] problem in generating moses.ini in mert-work folder

2015-11-14 Thread Apurva Joshi
hello , i ran following command to do tuning ... cd working nohup nice ~/mosesdecoder-RELEASE-3.0/scripts/training/*mert-moses.pl * ~/corpus/*corpora.true.en* ~/corpus/ *corpora.true.hi* ~/mosesdecoder-RELEASE-3.0/bin/*moses* ~/working/train/model/*moses.ini* --mertdir

[Moses-support] Can't read LexicalReordering0 in moses.ini from mert-work folder

2015-11-14 Thread Apurva Joshi
i used following command to do tuning nohup nice ~/mosesdecoder-RELEASE-3.0/scripts/training/mert-moses.pl ~/corpus/corpora.true.en ~/corpus/corpora.true.hi ~/mosesdecoder-RELEASE-3.0/bin/moses ~/working/train/model/moses.ini --mertdir ~/mosesdecoder-RELEASE-3.0/bin/ &> mert.out &

[Moses-support] Tuning help

2015-11-14 Thread Apurva Joshi
hello all, i designed SMT for English-Hindi pair...where i/p is english and o/p is Hindi its working... but it is not giving me proper conversion for some sentences ...o/p hindi sentences that i get after translation , is not proper hindi , eg input sentence = *my train number is 23* output

Re: [Moses-support] On-Disk Phrase table error

2015-11-02 Thread Apurva Joshi
=TranslationModel0 num-features=4 path=/home/techmahindra/phrase-table.1.folder input-factor=1 output-factor=1 here factor are 1 1...i changed it to 0 0... its working On Tue, Nov 3, 2015 at 11:55 AM, Apurva Joshi <apurvajoshi1...@gmail.com> wrote: > hello all, > initially my mo

[Moses-support] On-Disk Phrase table error

2015-11-02 Thread Apurva Joshi
hello all, initially my moses.ini file contains : PhraseDictionaryMemory name=TranslationModel0 num-features=4 path=/home/techmahindra/working/train/model/phrase-table.gz input-factor=0 output-factor=0 Now to binarise phrase table , we need to convert the rule table into a binary prefix format.

[Moses-support] moses server building procedure

2015-10-27 Thread Apurva Joshi
plzz tell me where can i get detail stepwise procedure of building moses server??? apurvajoshi1...@gmail.com ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support

[Moses-support] Fwd: moses using cpp help

2015-10-26 Thread Apurva Joshi
-- Forwarded message -- From: Apurva Joshi <apurvajoshi1...@gmail.com> Date: Mon, Oct 26, 2015 at 12:40 PM Subject: moses using cpp help To: David Madl <da...@madlnet.net> hello, plz help...m really confused...i want to access *bestHypo in Manager.cpp to get best op

[Moses-support] undefined reference to `Moses::Parameter::LoadParam(int, char**)'

2015-10-26 Thread Apurva Joshi
hello all, following is my program.. m executing one step at a time from moses-cmd/src/main.cpp #include #include #include #include #include #include"ThreadPool.h" #include"OutputCollector.h" #include"Parameter.h" using namespace std; using namespace Moses; using namespace std; class

[Moses-support] linux command showing no effects on moses

2015-10-19 Thread Apurva Joshi
guyzzz my problem is simple guyzz nw i have written following shell scriptits working *#!/bin/bash*~/mosesdecoder-RELEASE-3.0/bin/moses -f ~/working/train/model/moses.ini *while read input;do if [ "$input" = "Q" ];thenbreakfidone* now as per above scriptafter loading

[Moses-support] where moses stores translated output Internally before sending to stdout ???????

2015-10-19 Thread Apurva Joshi
after running moses -f moses.ini lets my ip is "hello" i got translated op "XYZ" NOW just tell me where moses internally stores this output before sending to STDOUT??? once i got that internal variable or path...i can go to that path and can store it in my file pl te

Re: [Moses-support] Moses-support Digest, Vol 108, Issue 52

2015-10-16 Thread Apurva Joshi
t; than "Re: Contents of Moses-support digest..." > > > Today's Topics: > >1. how to copy output of moses.ini into text output file... > (Apurva Joshi) >2. Re: how to copy output of moses.ini into text output file... > (Kenneth Heafield) > > &g

[Moses-support] how to copy output of moses.ini into text output file...

2015-10-15 Thread Apurva Joshi
my logic is load moses.ini give input word (eg "hello") through stdin redirect translated op from stdout to txt file... again user ask wanna continue?? if yes...gv ip...and above process repeats ...otherwise...stop how can i write this through shell script pllz help and reply on same

Re: [Moses-support] how to run moses through shell script in linux

2015-10-14 Thread Apurva Joshi
hi philipp i already knw above command...i executed this command through shell script...but if i use filethen moses will converts only those words which are in filebut in real time when i want to input any no of english words...then in that case file is not good optionin my previous

[Moses-support] how to run moses through shell script in linux

2015-10-09 Thread Apurva Joshi
hello guyzz...i have designed SMT using moses for English-hindi i use following command to run this... ~/mosesdecoder-RELEASE-3.0/bin/moses -f ~/working/train/model/moses.ini after running above command...my LM, TM starts loading... and then i type english word...and i get corresponding op