Hi, I installed Ubuntu Linux 8 with successful execution of training-factored-model. I am also tried to install Ubuntu Linux 7.10 on coLinux, and the result is successful also.
I don't have any particular idea why in solaris the training is fail. One different thing I learn is the MERT version when releasing moses scripts. But I believe trainig-factored-model is not yet involving mert, right? So in the meantime I will use Ubuntu Linux. May be I will back to this list for evaluation and tuning stuffs. Regards, Anung On Sun, Aug 3, 2008 at 1:16 AM, Hieu Hoang <[EMAIL PROTECTED]> wrote: > i'm not very familiar with giza++ or the moses training scripts. > > do you know what happens if you run the same commands under linux ? > solaris shouldn't be too different but i think you're the 1st solaris user > i've encountered on the list so there may be small incompatibility issues. > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Anung Ariwibowo > *Sent:* 02 August 2008 04:48 > *To:* moses-support > *Cc:* [EMAIL PROTECTED] > *Subject:* Re: [Moses-support] Moses: Prepare Data,Build Language Model > and Train Model > > Hi Moses users, > > My question is below... > > On Fri, Jul 25, 2008 at 7:08 PM, Josh Schroeder <[EMAIL PROTECTED]>wrote: > >> Hi Llio, >> >> >> I then trained the model and the system crashed with the following >> message:- >> >> >> >> Executing: bin/moses-scripts/scripts-20080125-1939/training/phrase- >> >> extract/extract >> >> ./model/aligned.0.en ./model/aligned.0.cy >> >> ./model/aligned.grow-diag-final-and ./model/extract.0-0 7 orientation >> >> PhraseExtract v1.3.0, written by Philipp Koehn >> >> phrase extraction from an aligned parallel corpus >> >> (also extracting orientation) >> >> Executing: cat ./model/extract.0-0.o.part* > ./model/extract.0-0.o >> >> cat: ./model/extract.0-0.o.part*: No such file or directory >> >> Exit code: 1 >> >> Died at bin/moses-scripts/scripts-20080125-1939/training/train- >> >> factored-phrase-model.perl >> >> line 899. >> >> >> >> So, my question is: am I giving Moses the wrong data to work with? >> >> I think it's more likely that some file is misplaced (you say you >> 'moved' the lowercased files to the lm directory - did you copy them >> or delete them?) or that some part of the train-factored-phrase- >> model.perl process isn't running correctly. The full stdout/stderr of >> the perl script should help you debug what is getting done and what is >> failing. The "Executing:" calls are just copies of what is sent to the >> command line, so you can always try copy and pasting that and running >> it yourself outside of the perl script to debug what's going wrong. >> You've got the perl script, too, so poke around inside it and figure >> out what it's doing. That's the beauty of open-source. :) >> > > Hi.. looks like I am having the same problem with Humphreys'. I am sorry > for posting on different thread yesterday. > > As suggested, I checked through the line of codes in > "train-factored-phrase-model.perl". In my case the problem lies in line 900 > of the code. From the message I think training phase try to find a file with > ".part" extension, but there is none. > > So my question is, why is this perl script try to find some files with > ".part" extension? What is their function in training phase? > > I have checked the perl code, all lines that contains this ".part" > contained in "extract_phrase" , "score_phrase", and "split_extract" > subroutines. It seems that "split_extract" sub does the writing of ".part" > files. > > Going further through the code, I found that "split_extract" is called > inside "score_phrase", which, in turn, is called from > "score_phrase_factored". > > "extract_phrase", which use these ".part" files, is called from > "extract_phrase_factored". > > Going more further to the upper part of the lines of code, I found out that > "score_phrase_factored", which indirectly write these ".part" files, is > called *after* "extract_phrase_factored". This means these ".part" files is > read *before* it is written. > > Is there any explanation of this? Any shed of light will be helpful. > > Best regards, > Anung > > -- [EMAIL PROTECTED], gmail.com, yahoo.com} Visit my Blog @ barliant.blogspot.com
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
