Marian NMT
v1.11.5
Contents:
Code Organisation
Expression graphs
Operations in the expression graph
Layers
Using Marian with factors
Library API
How to contribute to Marian
Writing documentation
Marian NMT
»
Library API
»
Function marian::data::createShortlistGenerator
View page source
Function marian::data::createShortlistGenerator
¶
Defined in
File shortlist.cpp
Function Documentation
¶
Ptr
<
ShortlistGenerator
>
marian::data
::
createShortlistGenerator
(
Ptr
<
Options
>
options
,
Ptr
<
const
Vocab
>
srcVocab
,
Ptr
<
const
Vocab
>
trgVocab
,
const
std
::vector<int> &
lshOpts
, size_t
srcIdx
, size_t
trgIdx
, bool
shared
)
¶