from the webpage: http://www.statmt.org/moses/?n=Advanced.Models#ntoc7 Add 2 phrase-table to the [feature] section
[feature] PhraseDictionaryMemory path=/my-dir/table1 ... PhraseDictionaryMemory path=/my-dir/table2 ... Add an entry to the [mapping] section [mapping] 0 T 0 1 T 1 Add weights to the [weight] section [weight] PhraseDictionaryMemory0= 0 0 1 0 PhraseDictionaryMemory1= 0 0 1 0 You don't need to use PhraseDictionaryGroup * Looking for MT/NLP opportunities * Hieu Hoang http://moses-smt.org/ On 9 April 2017 at 05:21, sriram <[email protected]> wrote: > Hi Hieu, > > Thanks for the suggestion. > > In regard to point 2 . How can I use multiple phrase table inside moses? > > > Regards, > Sriram > > On Fri, Apr 7, 2017 at 5:44 PM, Hieu Hoang <[email protected]> wrote: > >> there's no tools to do this but you can write it yourself. You need to >> make up some scores to give each phrase. >> >> The other methods to use your phrases are: >> 1. Add it to the training data and retrain your model. >> 2. Create a 2nd phrase-table with just your phrases and get the >> decoder to use it, in addition to the existing phrase-table >> >> * Looking for MT/NLP opportunities * >> Hieu Hoang >> http://moses-smt.org/ >> >> >> On 6 April 2017 at 19:14, sriram <[email protected]> wrote: >> >>> Hi, >>> >>> I have some good aligned phrases collection and I want to add to the >>> existing phrase table. Is there any existing tool to add the same in Moses. >>> >>> Thanks, >>> Sriram >>> >>> >>> >>> _______________________________________________ >>> Moses-support mailing list >>> [email protected] >>> http://mailman.mit.edu/mailman/listinfo/moses-support >>> >>> >> > > > -- > > Open source English-Hindi MT system > http://anusaaraka.iiit.ac.in/ > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
