I am trying to build a Spoken MT system where I am first using Kaldi for
recognizing text and then then moses for translation.

kaldi is giving me output as confusion networks(with epsilons) which needs
to be feeded as input to moses in PLF fomat. Hence, I am converting the
confusion network to  PLF format.

Chris's link : http://www.cdec-decoder.org/concepts/lattices.html says plf
format accepts epsilon.

((('*EPS*',1,1),),(('there',0.9747331,1),('it',0.02526694,1)
,),(('*EPS*',1,1),),(('was',0.9987841,1),('is',0.00121591,1)
,),(('*EPS*',1,1),),(('a',1,1),),(('*EPS*',1,1),),(('
beautiful',1,1),),(('*EPS*',1,1),),(('fish',0.8245394,1),('
bench',0.1042382,1),('fetch',0.03937767,1),('fetched',0.
02650477,1),('edge',0.005339933,1),),(('*EPS*',1,1),),)



On 8 September 2017 at 01:22, Kenneth Heafield <mo...@kheafield.com> wrote:

> It seems nobody implemented epsilons.  You're welcome to implement them.
>
>
> On 09/07/2017 09:40 PM, Sanket Gandhare wrote:
> > I am trying to give input to moses as word lattice having epsilons as
> > well, '*EPS*'. but it is giving this result :
> >
> > terminate called after throwing an instance of 'util::Exception'
> >   what():  moses/TranslationOptionCollectionLattice.cpp:48 in
> > Moses::TranslationOptionCollectionLattice::
> TranslationOptionCollectionLattice(const
> > ttasksptr&, const Moses::WordLattice&) threw util::Exception because
> > `word.IsEpsilon()'.
> > Epsilon not supported
> > Aborted (core dumped)
> >
> > Can anyone help?
> >
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > Moses-support@mit.edu
> > http://mailman.mit.edu/mailman/listinfo/moses-support
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to