it should be working. Barry and I turned on alignment by default about a month ago, so you shouldn't have to do anything more to enable it. It should also be included in the on-disk format also
Double check that the text phrase table has alignments, eg. ! ! [X] ||| ! [X] ||| 4.77653e-06 0.854135 0.0135415 0.950802 2.718 ||| 0-0 1-0 ||| 2835 1 1 rather than ! ! [X] ||| ! [X] ||| 4.77653e-06 0.854135 0.0135415 0.950802 2.718 ||| ||| 2835 1 1 I ran this: ~/workspace/github/hh/bin/moses_chart -f newstest2011.filtered.ini.2 with options [alignment-output-file] align.txt [n-best-list] best.txt 100 distinct [print-alignment-info-in-n-best] 1 align.txt: 1-1 2-2 best.txt: 0 ||| ! ! ||| KENLM0= -7.92753 WordPenalty0= -1.73718 PhraseModel0= -0.184632 -0.157667 -0.178981 -0.100899 1.99979 PhraseModel1= 1.99979 ||| -0.650199 ||| 1-1 2-2 0 ||| it ! ! ||| KENLM0= -8.33145 WordPenalty0= -2.17147 PhraseModel0= -1.55348 -0.157667 -6.42571 -5.00993 1.99979 PhraseModel1= 1.99979 ||| -0.917955 ||| 1-2 2-3 0 ||| you ! ! ||| KENLM0= -8.60168 WordPenalty0= -2.17147 PhraseModel0= -1.84954 -0.157667 -7.35134 -6.71353 1.99979 PhraseModel1= 1.99979 ||| -1.01846 ||| 1-2 2-3 ... On 20 February 2013 09:30, arianna bisazza <[email protected]> wrote: > Dear Hieu, > > I'm trying to include a hiero experiment in my thesis (due in four weeks!! > :-/) and I'm struggling to get the word alignment information out of it, > and compute reordering scores. > Is the word alignment option actually working right not in moses_chart? > I'm using a recent Moses version but I get empty alignment fields. Should > I try with the latest version? > And which options should I enable exactly? Is there something special to > do during training? > > If this is not yet working, never mind. I'll use external alignment > models, which is less accurate but will save my day ;) > > Thanks! > Arianna > > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
