the program in

   contrib/sigtest-filter

does some clean, for example, keeping the best 20 target phrase for each source phrase. More details here

    http://www.statmt.org/moses/?n=Advanced.RuleTables

If that's not what you want you may have to write your own.


On 16/01/18 09:23, jean boyer wrote:
"I would like edit my message 
"https://www.mail-archive.com/[email protected]/msg15788.html"; because the 
accompanying image was not posted."
Hi,
I would like clean my phrase table fr-en.
There are any solution to clean phrase table and keep only the bests 
translations.
like in the example below i want keep only the lines that begin with an arrow?
----------------------------------------------------------------------- sur ce sujet            a            1.21619e-05 2.15066e-09 0.111111 0.0117291            1-0      82224 9 1 =>sur ce sujet            on this subject  0.5 0.0104788 0.111111 0.00456608            0-0 1-1 2-2            2 9 1 =>sur ce sujet            on this topic  0.2 0.0416959 0.111111 0.00307945            0-0 1-1 2-2            5 9 1 sur ce sujet            rebellion against  0.0909091 9.07596e-09 0.111111 1.53269e-08  0-1            11 9 1

-------------------------------------------------------------------------------------
Thank you !
Eric



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

--
Hieu Hoang
http://moses-smt.org/

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

Reply via email to