FST
openfst-1.8.2.post1
OpenFst Library
|
#include <lookahead-matcher.h>
Public Types | |
using | FST = typename M::FST |
using | Arc = typename FST::Arc |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Label = typename M::FST::Arc::Label |
using | StateId = typename M::FST::Arc::StateId |
using | Weight = typename M::FST::Arc::Weight |
![]() | |
using | Arc = M::FST::Arc |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
TrivialLookAheadMatcher (const FST &fst, MatchType match_type) | |
TrivialLookAheadMatcher (const FST *fst, MatchType match_type) | |
TrivialLookAheadMatcher (const TrivialLookAheadMatcher &lmatcher, bool safe=false) | |
TrivialLookAheadMatcher * | Copy (bool safe=false) const override |
MatchType | Type (bool test) const override |
void | SetState (StateId s) final |
bool | Find (Label label) final |
bool | Done () const final |
const Arc & | Value () const final |
void | Next () final |
Weight | Final (StateId s) const final |
ssize_t | Priority (StateId s) final |
const FST & | GetFst () const override |
uint64_t | Properties (uint64_t props) const override |
uint32_t | Flags () const override |
void | InitLookAheadFst (const Fst< Arc > &fst, bool copy=false) override |
bool | LookAheadFst (const Fst< Arc > &, StateId) final |
bool | LookAheadLabel (Label) const final |
bool | LookAheadPrefix (Arc *) const |
Weight | LookAheadWeight () const |
![]() | |
virtual void | InitLookAheadFst (const Fst< M::FST::Arc > &, bool copy=false)=0 |
virtual bool | LookAheadFst (const Fst< M::FST::Arc > &, StateId)=0 |
bool | LookAheadPrefix (M::FST::Arc *arc) const |
Weight | LookAheadWeight () const |
![]() | |
virtual | ~MatcherBase () |
Additional Inherited Members | |
![]() | |
void | ClearLookAheadWeight () |
void | SetLookAheadWeight (Weight weight) |
void | ClearLookAheadPrefix () |
void | SetLookAheadPrefix (M::FST::Arcarc) |
Definition at line 179 of file lookahead-matcher.h.
using fst::TrivialLookAheadMatcher< M >::Arc = typename FST::Arc |
Definition at line 183 of file lookahead-matcher.h.
using fst::TrivialLookAheadMatcher< M >::FST = typename M::FST |
Definition at line 182 of file lookahead-matcher.h.
using fst::TrivialLookAheadMatcher< M >::Label = typename Arc::Label |
Definition at line 184 of file lookahead-matcher.h.
using fst::TrivialLookAheadMatcher< M >::StateId = typename Arc::StateId |
Definition at line 185 of file lookahead-matcher.h.
using fst::TrivialLookAheadMatcher< M >::Weight = typename Arc::Weight |
Definition at line 186 of file lookahead-matcher.h.
|
inline |
Definition at line 189 of file lookahead-matcher.h.
|
inline |
Definition at line 193 of file lookahead-matcher.h.
|
inline |
Definition at line 197 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 201 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 211 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 217 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 209 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 227 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 221 of file lookahead-matcher.h.
|
inlineoverride |
Definition at line 233 of file lookahead-matcher.h.
|
inlinefinal |
Definition at line 235 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 237 of file lookahead-matcher.h.
|
inline |
Definition at line 239 of file lookahead-matcher.h.
|
inline |
Definition at line 241 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 215 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 219 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 223 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 207 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 205 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 213 of file lookahead-matcher.h.