as ondrej pointed out, you can use the option
> -output-search-graph > > For phrase-based decoding, this calls the function > Manager::GetSearchGraph() > For chart decoding > ChartManager::GetSearchGraph() > > They simply get the hypotheses from the final stack, then iteratively > create the search graph by going back using the function: > hypo.GetPrevHypo() > or > hypo.GetPrevHypos() > > > On 23 September 2011 16:21, zeinab vakil <[email protected]> wrote: > >> Hello, >> >> Thank for your useful response, but working with search graph file is >> slow in my application. I need to data structure or object of the moses, >> that the search graph is stored in it.please guide me. >> >> Best Regards >> >> zeinab vakil >> >> >> On Tue, Sep 20, 2011 at 12:34 PM, Ondrej Bojar <[email protected]>wrote: >> >>> Hi, Vakil, >>> >>> run moses with -h to see the list of command-line options. One of them is >>> -osg or -output-search-graph, which is probably what you are after. >>> >>> Cheers, O. >>> >>> "zeinab vakil" <[email protected]> wrote: >>> >>> >hello, >>> > >>> >Moses give best hypothesis for one sentence, but I need to a graph >>> including >>> >all possible paths (all hypotheses) after pruning. I know that moses >>> product >>> >such graph, but I don't know that how I can access it. Please guide me. >>> > >>> >vakil >>> >_______________________________________________ >>> >Moses-support mailing list >>> >[email protected] >>> >http://mailman.mit.edu/mailman/listinfo/moses-support >>> >>> >>> -- >>> Ondrej Bojar >>> http://www.cuni.cz/~obo >>> >> >> >> _______________________________________________ >> 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
