FST
openfst-1.8.3
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 |
Public Types inherited from fst::LookAheadMatcherBase< M::FST::Arc > | |
using | Label = typename M::FST::Arc::Label |
using | StateId = typename M::FST::Arc::StateId |
using | Weight = typename M::FST::Arc::Weight |
Public Types inherited from fst::MatcherBase< M::FST::Arc > | |
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 |
Public Member Functions inherited from fst::LookAheadMatcherBase< M::FST::Arc > | |
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 |
Public Member Functions inherited from fst::MatcherBase< M::FST::Arc > | |
virtual | ~MatcherBase ()=default |
Static Public Attributes | |
static constexpr uint32_t | kFlags = flags |
Additional Inherited Members | |
Protected Member Functions inherited from fst::LookAheadMatcherBase< M::FST::Arc > | |
void | ClearLookAheadWeight () |
void | SetLookAheadWeight (Weight weight) |
void | ClearLookAheadPrefix () |
void | SetLookAheadPrefix (M::FST::Arcarc) |
Definition at line 259 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::Arc = typename FST::Arc |
Definition at line 262 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::FST = typename M::FST |
Definition at line 261 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::Label = typename Arc::Label |
Definition at line 263 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::MatcherData = NullAddOn |
Definition at line 266 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::StateId = typename Arc::StateId |
Definition at line 264 of file lookahead-matcher.h.
using fst::ArcLookAheadMatcher< M, flags >::Weight = typename Arc::Weight |
Definition at line 265 of file lookahead-matcher.h.
|
inline |
Definition at line 278 of file lookahead-matcher.h.
|
inline |
Definition at line 286 of file lookahead-matcher.h.
|
inline |
Definition at line 294 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 301 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 314 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 320 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 312 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 330 of file lookahead-matcher.h.
|
inline |
Definition at line 335 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 324 of file lookahead-matcher.h.
|
inline |
Definition at line 337 of file lookahead-matcher.h.
|
inlineoverride |
Definition at line 341 of file lookahead-matcher.h.
|
final |
Definition at line 359 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 349 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 318 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 322 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 326 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 307 of file lookahead-matcher.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 305 of file lookahead-matcher.h.
|
inlinefinalvirtual |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 316 of file lookahead-matcher.h.
|
static |
Definition at line 275 of file lookahead-matcher.h.