Hello,

I am trying to create a compact version of the phrase table based on the
pre-trained models of release 1.

I get the following error when I run the processPhraseTableMin on a ubuntu
Vagrant machine.

Thanks for your help,

João

vagrant@precise64:/vagrant/mt-models/en-es$
~/mosesdecoder/bin/processPhraseTableMin -in phrase-table.1.gz -out
phrase-table -nscores 5 -threads 2
Used options:
Text phrase table will be read from: phrase-table.1.gz
Output phrase table will be written to: phrase-table.minphr
Step size for source landmark phrases: 2^10=1024
Source phrase fingerprint size: 16 bits / P(fp)=1.52588e-05
Selected target phrase encoding: Huffman + PREnc
Maxiumum allowed rank for PREnc: 100
Number of score components in phrase table: 5
Single Huffman code set for score components: no
Using score quantization: no
Explicitly included alignment information: yes
Running with 2 threads

Pass 1/3: Creating hash function for rank assignment
..................................................[5000000]
..................................................[10000000]
..................................................[15000000]
..................................................[20000000]
..................................................[25000000]
..................................................[30000000]
..................................................[35000000]
..................................................[40000000]
..................................................[45000000]
..................................................[50000000]
..................................................[55000000]
......terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to