Ah. I didn't look at the reg-tests (my bad!). I'll have a look and update later.
On Fri, Oct 20, 2017 at 8:10 PM, Hieu Hoang <[email protected]> wrote: > as far as I know, it still works. > > The regression tests for lattice still passes > https://github.com/moses-smt/moses-regression-tests/tree/ > master/tests/phrase.lattice* > > Hieu Hoang > http://moses-smt.org/ > > > On 20 October 2017 at 18:00, Prashant Mathur <[email protected]> > wrote: > >> Hi All, >> >> Is lattice input still supported in Moses? >> >> Straight out using moses with `--input-type 2` doesn't work and crash >> right after creating input object. So, I added `InputFeature` in the config >> file [1] and now Moses waits for the lattice input at least. >> >> Now, when I try to run the example plf on this page [2], it fails and >> throw this error: >> >> Created input-output object : [18.318] seconds >> ((('einen',1.0,1),),(('wettbewerbsbedingten',0.5,2),(' >> wettbewerbs',0.25,1),('wettbewerb',0.25, 1),),(('bedingten',1.0,1),),(( >> 'preissturz',0.5,2),('preis',0.5,1),),(('sturz',1.0,1),),) >> >> Translating: word lattice: 5 >> 0 -- (einen , , 0.0001) >> 1 -- (wettbewerbsbedingten , , -0.6932) (wettbewerbs , , -1.3861) >> (wettbewerb , , -1.3861) >> 2 -- (bedingten , , 0.0001) >> 3 -- (preissturz , , -0.6932) (preis , , -0.6931) >> 4 -- (sturz , , 0.0001) >> Line 0: Initialize search took 0.000 seconds total >> Line 0: Collecting options took 0.000 seconds at moses/Manager.cpp Line >> 141 >> terminate called after throwing an instance of 'util::Exception' >> >> what(): moses/ConfusionNet.cpp:266 in virtual const Moses::Word& >> Moses::ConfusionNet::GetWord(size_t) const threw util::Exception. >> ERROR: call to ConfusionNet::GetFactorArray >> Aborted >> >> What's going on here? any suggestions? >> >> >> [1] InputFeature name=IF0 num-features=1 >> [2] http://www.statmt.org/moses/?n=Moses.WordLattices >> >> Thanks, >> --Prashant >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > -- Prashant Mathur PhD Student Human Language Technologies FBK-irst, Trento, Italy
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
