|
|
| TableDecoder (const TableBasedDictionary *dict, const LanguageModelBase *model) |
| |
|
| Decoder (const Dictionary *dict, const LanguageModelBase *model) |
| |
|
const Dictionary * | dict () const |
| |
|
const LanguageModelBase * | model () const |
| |
|
bool | decode (Lattice &lattice, const SegmentGraph &graph, size_t nbest, const State &state, float max=std::numeric_limits< float >::max(), float min=-std::numeric_limits< float >::max(), size_t beamSize=beamSizeDefault, size_t frameSize=frameSizeDefault, void *helper=nullptr) const |
| |
|
|
LatticeNode * | createLatticeNodeImpl (const SegmentGraphBase &graph, const LanguageModelBase *model, std::string_view word, WordIndex idx, SegmentGraphPath path, const State &state, float cost, std::unique_ptr< LatticeNodeData > data, bool onlyPath) const override |
| |
|
bool | needSort (const SegmentGraph &graph, const SegmentGraphNode *node) const override |
| |
|
LatticeNode * | createLatticeNode (const SegmentGraph &graph, const LanguageModelBase *model, std::string_view word, WordIndex idx, SegmentGraphPath path, const State &state, float cost=0, std::unique_ptr< LatticeNodeData > data=nullptr, bool onlyPath=false) const |
| |
|
|
static constexpr const size_t | beamSizeDefault = 20 |
| |
|
static constexpr const size_t | frameSizeDefault = 40 |
| |
Definition at line 41 of file tabledecoder.h.
The documentation for this class was generated from the following files: