FST
openfst-1.8.4
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 | MatcherData = NullAddOn |
![]() | |
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 | |
ArcLookAheadMatcher (const FST &fst, MatchType match_type, std::shared_ptr< MatcherData > data=nullptr) | |
ArcLookAheadMatcher (const FST *fst, MatchType match_type, std::shared_ptr< MatcherData > data=nullptr) | |
ArcLookAheadMatcher (const ArcLookAheadMatcher &lmatcher, bool safe=false) | |
ArcLookAheadMatcher * | 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 |
const MatcherData * | GetData () const |
std::shared_ptr< MatcherData > | GetSharedData () const |
void | InitLookAheadFst (const Fst< Arc > &fst, bool copy=false) override |
bool | LookAheadFst (const Fst< Arc > &, StateId) final |
bool | LookAheadLabel (Label label) const final |
![]() | |
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 ()=default |
Static Public Attributes | |
static constexpr uint32_t | kFlags = flags |
Additional Inherited Members | |
![]() | |
void | ClearLookAheadWeight () |
void | SetLookAheadWeight (Weight weight) |
void | ClearLookAheadPrefix () |
void | SetLookAheadPrefix (M::FST::Arcarc) |
Definition at line 257 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::Arc = typename FST::Arc |
Definition at line 260 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::FST = typename M::FST |
Definition at line 259 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::Label = typename Arc::Label |
Definition at line 261 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::MatcherData = NullAddOn |
Definition at line 264 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::StateId = typename Arc::StateId |
Definition at line 262 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::Weight = typename Arc::Weight |
Definition at line 263 of file lookahead-matcher.h.
|
inline |
Definition at line 276 of file lookahead-matcher.h.
|
inline |
Definition at line 284 of file lookahead-matcher.h.
|
inline |
Definition at line 292 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 299 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 312 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 318 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 310 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 328 of file lookahead-matcher.h.
|
inline |
Definition at line 333 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 322 of file lookahead-matcher.h.
|
inline |
Definition at line 335 of file lookahead-matcher.h.
|
inlineoverride |
Definition at line 339 of file lookahead-matcher.h.
|
final |
Definition at line 357 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 347 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 316 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 320 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 324 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 305 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 303 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 314 of file lookahead-matcher.h.
|
static |
Definition at line 273 of file lookahead-matcher.h.