Well, I wanted to use queryPhraseTable to look up entries in both tables
(rule and phrase table) for the evaluation of selected phrases.

 

Your best bet is to rewrite queryPhraseTable for the tree-based model. I
think it would be easy & i can help you.

We can try but be warned: My programming skills equal to 0.

 

Let me know.

Daniel

 

Von: [email protected] [mailto:[email protected]] Im
Auftrag von Hieu Hoang
Gesendet: 08 May 2012 23:15
An: [email protected]
Betreff: Re: [Moses-support] How to query the rule table of a tree-based
model

 

queryPhraseTable won't work with the tree-based on-disk rule table.

the implementations are similar, but not the same. Since its all about bits
& bytes on disk & memory it's very difficult to make them compatible. Your
best bet is to rewrite queryPhraseTable for the tree-based model. I think it
would be easy & i can help you.

i'm also curious why there is a need for it. are you trying to reverse a
binary file?

On 08/05/2012 19:02, Daniel Schaut wrote: 

Hi all,

Quick question: How do you guys query a rule table of a tree-based model?
queryPhraseTable seems not to work on my side here.

Thanks and best,

Daniel






_______________________________________________
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

Reply via email to