FST
openfst-1.8.4
OpenFst Library
|
#include <lookahead-matcher.h>
Public Types | |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = Arc |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
virtual void | InitLookAheadFst (const Fst< Arc > &, bool copy=false)=0 |
virtual bool | LookAheadFst (const Fst< Arc > &, StateId)=0 |
virtual bool | LookAheadLabel (Label) const =0 |
bool | LookAheadPrefix (Arc *arc) const |
Weight | LookAheadWeight () const |
![]() | |
virtual | ~MatcherBase ()=default |
virtual MatcherBase * | Copy (bool safe=false) const =0 |
virtual MatchType | Type (bool) const =0 |
virtual void | SetState (StateId)=0 |
virtual bool | Find (Label)=0 |
virtual bool | Done () const =0 |
virtual const Arc & | Value () const =0 |
virtual void | Next ()=0 |
virtual const Fst< Arc > & | GetFst () const =0 |
virtual uint64_t | Properties (uint64_t) const =0 |
virtual uint32_t | Flags () const |
virtual Weight | Final (StateId s) const |
virtual ssize_t | Priority (StateId s) |
Protected Member Functions | |
void | ClearLookAheadWeight () |
void | SetLookAheadWeight (Weight weight) |
void | ClearLookAheadPrefix () |
void | SetLookAheadPrefix (Arc arc) |
Definition at line 144 of file lookahead-matcher.h.
using fst::LookAheadMatcherBase< Arc >::Label = typename Arc::Label |
Definition at line 146 of file lookahead-matcher.h.
using fst::LookAheadMatcherBase< Arc >::StateId = typename Arc::StateId |
Definition at line 147 of file lookahead-matcher.h.
using fst::LookAheadMatcherBase< Arc >::Weight = typename Arc::Weight |
Definition at line 148 of file lookahead-matcher.h.
|
inlineprotected |
Definition at line 174 of file lookahead-matcher.h.
|
inlineprotected |
Definition at line 170 of file lookahead-matcher.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 156 of file lookahead-matcher.h.
|
inline |
Definition at line 165 of file lookahead-matcher.h.
|
inlineprotected |
Definition at line 176 of file lookahead-matcher.h.
|
inlineprotected |
Definition at line 172 of file lookahead-matcher.h.