Probably easiest to read the code in Moses2, a fast re-implementation of
the Moses decoder.

The phrase-based search is in
   moses2/PhraseBased/Manager.cpp
The hierarchical/syntax search is in
  moses2/SCFG/Manager.cpp

* Looking for MT/NLP opportunities *
Hieu Hoang
http://moses-smt.org/


On 23 May 2017 at 00:05, Pritesh Ranjan <pr1...@it.jgec.ac.in> wrote:

> Sir/Ma'am,
> I have installed mosesdecoder and learning to use it, but i want to know
> which c++ modules are actually responsible for the beam search? I know that
> ~/mosesdecoder/search does the searching process but which what are the
> tasks of nbest.cc, edge_generator.cc, vertex.cc. I have read the "moses
> manual" and "Statistical Machine Translation by Philip Koehn" but could not
> get what I wanted.
> It would be very helpful if you can throw some light in this direction.
>
> Thanking You
> Sincierly ,
> Pritesh Ranjan
>
> _______________________________________________
> 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