Hi, the web tool for experiment.perl includes a visualization of the search graph and the best translation.
-phi On Tue, Jun 4, 2013 at 12:48 PM, Rico Sennrich <[email protected]> wrote: > Rico Sennrich <rico.sennrich@...> writes: > >> >> f.fancellu <astromantic3 <at> ...> writes: >> >> > Hi, >> > I am currently building a HPBM to translate from Chinese to English and I >> was wondering if there is a script already available to extract from a trace >> the rules used when translating a sentence and visualize them in a clear way. >> >> Hi, >> >> I have some extra debugging code locally, which shows the source range, plus >> the target side of each rule. Here's an example EN--DE with target-side >> syntax ('Q', 'root', 'pred', 'det' are all nonterminals). > > After a closer look at which trace you could be referring to, you get a very > similar output already with the -T option. So if you're wondering how to get > to the actual rules from that output, I don't know of any script that > already does that. > > _______________________________________________ > 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
