I've updated the file and it seems to be working fine now.
Thanks a lot,
Shachar

From: [email protected] [mailto:[email protected]] On Behalf Of Hieu Hoang
Sent: 03 January 2013 15:41
To: Mirkin, Shachar
Cc: [email protected]
Subject: Re: [Moses-support] current supprt for suffix arrays

hi shachar

oops, that code was accidently checked in. Suffix array, and everything else in 
the master branch, is supported. At least by someone

deleted the offending code.
  
https://github.com/moses-smt/mosesdecoder/commit/15c776eda451bf1325f69e04fa518554f110c49c

Please let me know if it works for you
On 2 January 2013 12:18, Mirkin, Shachar 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I've downloaded and installed Moses with the version available on 10/12/12 with 
the purpose of using it with incremental training.
Following the instructions on 
http://www.statmt.org/moses/?n=Moses.AdvancedFeatures I changed the ini file 
ttable entry to 8 0 0 3 <path-to-src> <path-to-tgt> <path-to-alignments>
Then, when I try to launch the server I get the error message: "Warning: 
implementation holds cached weights!" and the server launch is aborted.

Looking into the source code, in PhraseDictionary.cpp, 
PhraseDictionaryFeature::PhraseDictionaryFeature(...), I found the following 
lines which are probably the ones that stop the launch:

if (implementation == SuffixArray) {
      cerr << "Warning: implementation holds cached weights!" << endl;
      exit(1);
}

I did successfully launch and used the incremental training with a version I 
downloaded in August. The above condition wasn't there then. Is the suffix 
array no longer supported?

Thanks,
Shachar










_______________________________________________
Moses-support mailing list
[email protected]<mailto:[email protected]>
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to