#include <fst/lookahead-matcher.h>
Inherits LookAheadMatcherBase< M::FST::Arc >.

Public Types | |
| typedef M::FST | FST |
| typedef M::Arc | Arc |
| typedef Arc::StateId | StateId |
| typedef Arc::Label | Label |
| typedef Arc::Weight | Weight |
| typedef LabelReachableData< Label > | MatcherData |
Public Member Functions | |
| LabelLookAheadMatcher (const FST &fst, MatchType match_type, MatcherData *data=0, S *s=0) | |
| LabelLookAheadMatcher (const LabelLookAheadMatcher< M, F, S > &lmatcher, bool safe=false) | |
| ~LabelLookAheadMatcher () | |
| LabelLookAheadMatcher< M, F, S > * | Copy (bool safe=false) const |
| General matcher methods. | |
| MatchType | Type (bool test) const |
| void | SetState (StateId s) |
| bool | Find (Label label) |
| bool | Done () const |
| const Arc & | Value () const |
| void | Next () |
| const FST & | GetFst () const |
| uint64 | Properties (uint64 props) const |
| uint32 | Flags () const |
| MatcherData * | GetData () const |
| Writable matcher methods. | |
| bool | LookAheadLabel (Label label) const |
| Look-ahead methods. | |
| template<class L > | |
| bool | LookAheadFst (const L &fst, StateId s) |
| void | InitLookAheadFst (const Fst< Arc > &fst, bool copy=false) |
| template<class L > | |
| void | InitLookAheadFst (const L &fst, bool copy=false) |
Template argument F accepts flags to control behavior. It must include precisely one of KInputLookAheadMatcher or KOutputLookAheadMatcher.
Definition at line 421 of file lookahead-matcher.h.
| typedef M::Arc fst::LabelLookAheadMatcher< M, F, S >::Arc |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 425 of file lookahead-matcher.h.
| typedef M::FST fst::LabelLookAheadMatcher< M, F, S >::FST |
Definition at line 424 of file lookahead-matcher.h.
| typedef Arc::Label fst::LabelLookAheadMatcher< M, F, S >::Label |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 427 of file lookahead-matcher.h.
| typedef LabelReachableData<Label> fst::LabelLookAheadMatcher< M, F, S >::MatcherData |
Definition at line 429 of file lookahead-matcher.h.
| typedef Arc::StateId fst::LabelLookAheadMatcher< M, F, S >::StateId |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 426 of file lookahead-matcher.h.
| typedef Arc::Weight fst::LabelLookAheadMatcher< M, F, S >::Weight |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 428 of file lookahead-matcher.h.
| fst::LabelLookAheadMatcher< M, F, S >::LabelLookAheadMatcher | ( | const FST & | fst, | |
| MatchType | match_type, | |||
| MatcherData * | data = 0, |
|||
| S * | s = 0 | |||
| ) | [inline] |
Definition at line 436 of file lookahead-matcher.h.
| fst::LabelLookAheadMatcher< M, F, S >::LabelLookAheadMatcher | ( | const LabelLookAheadMatcher< M, F, S > & | lmatcher, | |
| bool | safe = false | |||
| ) | [inline] |
Definition at line 454 of file lookahead-matcher.h.
| fst::LabelLookAheadMatcher< M, F, S >::~LabelLookAheadMatcher | ( | ) | [inline] |
Definition at line 465 of file lookahead-matcher.h.
| LabelLookAheadMatcher<M, F, S>* fst::LabelLookAheadMatcher< M, F, S >::Copy | ( | bool | safe = false |
) | const [inline, virtual] |
General matcher methods.
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 470 of file lookahead-matcher.h.
| bool fst::LabelLookAheadMatcher< M, F, S >::Done | ( | ) | const [inline] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 492 of file lookahead-matcher.h.
| bool fst::LabelLookAheadMatcher< M, F, S >::Find | ( | Label | label | ) | [inline] |
Definition at line 484 of file lookahead-matcher.h.
| uint32 fst::LabelLookAheadMatcher< M, F, S >::Flags | ( | ) | const [inline, virtual] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 498 of file lookahead-matcher.h.
| MatcherData* fst::LabelLookAheadMatcher< M, F, S >::GetData | ( | ) | const [inline] |
Writable matcher methods.
Definition at line 508 of file lookahead-matcher.h.
| const FST& fst::LabelLookAheadMatcher< M, F, S >::GetFst | ( | ) | const [inline, virtual] |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 495 of file lookahead-matcher.h.
| void fst::LabelLookAheadMatcher< M, F, S >::InitLookAheadFst | ( | const Fst< Arc > & | fst, | |
| bool | copy = false | |||
| ) | [inline] |
Definition at line 533 of file lookahead-matcher.h.
| void fst::LabelLookAheadMatcher< M, F, S >::InitLookAheadFst | ( | const L & | fst, | |
| bool | copy = false | |||
| ) | [inline] |
Definition at line 540 of file lookahead-matcher.h.
| bool fst::LabelLookAheadMatcher< M, F, S >::LookAheadFst | ( | const L & | fst, | |
| StateId | s | |||
| ) | [inline] |
Checks if there is a matching (possibly super-final) transition at (s_, s).
Definition at line 571 of file lookahead-matcher.h.
| bool fst::LabelLookAheadMatcher< M, F, S >::LookAheadLabel | ( | Label | label | ) | const [inline] |
Look-ahead methods.
Definition at line 513 of file lookahead-matcher.h.
| void fst::LabelLookAheadMatcher< M, F, S >::Next | ( | ) | [inline] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 494 of file lookahead-matcher.h.
| uint64 fst::LabelLookAheadMatcher< M, F, S >::Properties | ( | uint64 | props | ) | const [inline, virtual] |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 496 of file lookahead-matcher.h.
| void fst::LabelLookAheadMatcher< M, F, S >::SetState | ( | StateId | s | ) | [inline] |
Definition at line 476 of file lookahead-matcher.h.
| MatchType fst::LabelLookAheadMatcher< M, F, S >::Type | ( | bool | test | ) | const [inline, virtual] |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 474 of file lookahead-matcher.h.
| const Arc& fst::LabelLookAheadMatcher< M, F, S >::Value | ( | ) | const [inline] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 493 of file lookahead-matcher.h.
1.7.1