Marcin Junczys-Dowmunt <junczys@...> writes: > > Hi list, > If I am not mistaken, there is currently no functionality to prune > tree-to-string rule tables. Do you think it makes sense to use filter-pt > for hierarchical rules instead, for instance by replacing category > symbols with the generic [X]. After pruning I would have to reintroduce > the syntactic categories. I think in the worst case this should result > in under-pruning, keeping more rules than neccessary. Any thoughts why > this might be a bad idea before I start implementing this? > Thanks, > Marcin >
filter-pt can also prune syntactic models (tree-to-string, string-to-tree and tree-to-tree) if you use the option '-h'. It's using an approximative method to get statistics, however (ignoring nonterminals). I'm currently doing some experiments to compare it to exact pruning, since I'm curious myself if the approximation costs performance. best wishes, Rico _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
