Hi,

do you still have the text version of the phrase table.
It seems to be easiest to convert that to the new binary format.

-phi

On Thu, Dec 15, 2011 at 6:05 AM, Horia Cucu <[email protected]> wrote:
> Hi,
>
> I have a phrase table created with a version of moses compiled in 2007.
> I've just installed moses on my computer and tried to decode using this old
> phrase table and I'm stuck here:
>
> ...
> ...
> Loading lexical distortion models...have 0 models
> Start loading LanguageModel
> /home/cucu/speechRoot/tools/wordsPhonetization/dist/dict.train.ph.lm :
> [0.000] seconds
> Finished loading LanguageModels : [0.000] seconds
> Warning: Phrase table specification in old 4-field format. Assuming binary
> phrase tables (type 1)!
> Start loading PhraseTable
> /home/cucu/speechRoot/tools/wordsPhonetization/filteredTable/phrase-table.0-0.1
> : [0.000] seconds
> filePath:
> /home/cucu/speechRoot/tools/wordsPhonetization/filteredTable/phrase-table.0-0.1
> Finished loading phrase tables : [0.000] seconds
> IO from STDOUT/STDIN
> Created input-output object : [0.000] seconds
> Translating line 0  in thread id 3074714480
> Translating: c a s ă
>
> bin ttable does not exist -> create it
> distinct source phrases: 19 distinct first words of source phrases: 8 number
> of phrase pairs (line count): 41
> reading bin ttable
> size of OFF_T 8
> binary phrasefile loaded, default OFF_T: -1
> Check weightT.size() == scoreVector.size() failed in
> moses/src/TargetPhrase.cpp:155
> ./translateWordList.sh: line 16: 21578 Aborted                 moses -f
> filteredTable/moses.ini < $WORDLIST.gr > $WORDLIST.ph
>
> any ideas?
> horia
>
> _______________________________________________
> Moses-support mailing list
> [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