Hi, You have two phrase tables with 5 features each, but only 5 weights. You need ten weights.
-phi On 28 Jul 2010 10:51, "Souhir Gahbiche" <[email protected]> wrote: Hi everybody, I'm trying to translate using two phrase tables. I filtered the model and the phrase tables, it's ok. But when I run moses, it stops. It seems there's a problem in loading the phrase table. The log file below: Defined parameters (per moses.ini or switch): config: /tmp/souhir/filter-2phtab/moses.ini distortion-file: 0-0 msd-bidirectional-fe 6 /tmp/souhir/filter-2phtab/reordering-table distortion-limit: 6 input-factors: 0 input-file: /people/souhir/Traduction/ar-fr/eval-testdata/ar.project-syndicate.2009-07.v1.test.bw.mada.tok lmodel-file: 0 0 4 /vol/raid31/allauzen/wmt09/lmm/newsLM+news-train08.fr.4gki.arpa.gz mapping: 0 T 0 1 T 1 ttable-file: 0 0 5 /tmp/souhir/filter-2phtab/phrase-table.0-0.1 0 0 5 /tmp/souhir/filter-2phtab/phrase-table.0-0.2 ttable-limit: 20 weight-d: 0.017928 0.127266 0.024963 0.081509 0.051223 0.024436 0.159560 weight-l: 0.128885 weight-t: 0.040958 0.042377 0.063104 0.018634 0.084341 weight-w: -0.134817 Loading lexical distortion models... have 1 models Creating lexical reordering... weights: 0.127 0.025 0.082 0.051 0.024 0.160 Loading table into memory...done. Created lexical orientation reordering Start loading LanguageModel /vol/raid31/allauzen/wmt09/lmm/newsLM+news-train08.fr.4gki.arpa.gz : [112.000] seconds Finished loading LanguageModels : [1413.000] seconds Start loading PhraseTable /tmp/souhir/filter-2phtab/phrase-table.0-0.1 : [1413.000] seconds filePath: /tmp/souhir/filter-2phtab/phrase-table.0-0.1 moses: StaticData.cpp:788: bool Moses::StaticData::LoadPhraseTables(): Assertion `weightAll.size() >= weightAllOffset + numScoreComponent' failed. Thanks & regards SG _______________________________________________ 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
