Re: [Moses-support] hierarchical-to-string translation doesn't produce string output

2022-03-18 Thread Lane Schwartz
Oleg, If you’re looking for rule based approaches, I would also encourage you to look at explicitly rule based systems like Apertium On Fri, Mar 18, 2022 at 2:42 AM Oleg Parashchenko wrote: > Hello Hieu, > > On Thu, 17 Mar 2022 23:09:25 -0700 > Hieu Hoang wrote: > > > the training does add glu

Re: [Moses-support] hierarchical-to-string translation doesn't produce string output

2022-03-18 Thread Oleg Parashchenko
Hello Hieu, On Thu, 17 Mar 2022 23:09:25 -0700 Hieu Hoang wrote: > the training does add glue rules for non-syntax models but you're using > a variant with syntax where you have to do it yourself. I didn't want to use a variant with syntax, I want to try "hierarchical phrase-based: no linguist

Re: [Moses-support] hierarchical-to-string translation doesn't produce string output

2022-03-17 Thread Hieu Hoang
the training does add glue rules for non-syntax models but you're using a variant with syntax where you have to do it yourself. DOwnload the small sample model and look in the tree-to-tree example to see how it's done    http://www.statmt.org/moses/download/sample-models.tgz Also, I hope you

Re: [Moses-support] hierarchical-to-string translation doesn't produce string output

2022-03-17 Thread Oleg Parashchenko
Hello Hieu, > ... You always need a glue rule I assumed that training should create one. If I need to write one self, where can I read the details? The page https://www.statmt.org/moses/?n=Moses.SyntaxTutorial mentions only the using of glue rules. > Can I have a look at your moses.ini file I'v

Re: [Moses-support] hierarchical-to-string translation doesn't produce string output

2022-03-17 Thread Hieu Hoang
Can I have a look at your moses.ini file. You always need a glue rule phrase take for scfg models to create the final output On Thu, Mar 17, 2022, 8:58 PM Oleg Parashchenko wrote: > Hello, > > I've created and tried a hierarchical model: > > ``` > $ echo 'nhoj' | moses -f model/moses.ini > ... >

[Moses-support] hierarchical-to-string translation doesn't produce string output

2022-03-17 Thread Oleg Parashchenko
Hello, I've created and tried a hierarchical model: ``` $ echo 'nhoj' | moses -f model/moses.ini ... Line 0: Initialize search took 0.000 seconds total Translating: nhoj ||| [0,0]=X (1) [0,1]=X (1) [0,2]=X (1) [1,1]=X (1) [1,1]=N (1) [1,2]=X (1) [2,2]=X (1) 0 1 2 0 1 0 0