FST
openfst-1.8.4
OpenFst Library
|
#include <replace.h>
Public Types | |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | PrefixId = P |
using | StateTuple = ReplaceStateTuple< StateId, PrefixId > |
using | StateTable = VectorHashStateTable< ReplaceStateTuple< StateId, PrefixId >, ReplaceRootSelector< StateId, PrefixId >, ReplaceFstStateFingerprint< StateId, PrefixId >, ReplaceFingerprint< StateId, PrefixId >> |
using | StackPrefix = ReplaceStackPrefix< Label, StateId > |
using | StackPrefixTable = CompactHashBiTable< PrefixId, StackPrefix, ReplaceStackPrefixHash< Label, StateId >> |
Public Member Functions | |
VectorHashReplaceStateTable (const std::vector< std::pair< Label, const Fst< Arc > * >> &fst_list, Label root) | |
VectorHashReplaceStateTable (const VectorHashReplaceStateTable< Arc, PrefixId > &table) | |
StateId | FindState (const StateTuple &tuple) |
const StateTuple & | Tuple (StateId id) const |
PrefixId | FindPrefixId (const StackPrefix &prefix) |
const StackPrefix & | GetStackPrefix (PrefixId id) const |
using fst::VectorHashReplaceStateTable< Arc, P >::Label = typename Arc::Label |
using fst::VectorHashReplaceStateTable< Arc, P >::PrefixId = P |
using fst::VectorHashReplaceStateTable< Arc, P >::StackPrefix = ReplaceStackPrefix<Label, StateId> |
using fst::VectorHashReplaceStateTable< Arc, P >::StackPrefixTable = CompactHashBiTable<PrefixId, StackPrefix, ReplaceStackPrefixHash<Label, StateId>> |
using fst::VectorHashReplaceStateTable< Arc, P >::StateId = typename Arc::StateId |
using fst::VectorHashReplaceStateTable< Arc, P >::StateTuple = ReplaceStateTuple<StateId, PrefixId> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |