#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 NullAddOn | MatcherData |
Public Member Functions | |
| ArcLookAheadMatcher (const FST &fst, MatchType match_type, MatcherData *data=0) | |
| ArcLookAheadMatcher (const ArcLookAheadMatcher< M, F > &lmatcher, bool safe=false) | |
| ArcLookAheadMatcher< M, F > * | 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. | |
| bool | LookAheadFst (const Fst< Arc > &fst, StateId s) |
| void | InitLookAheadFst (const Fst< Arc > &fst, bool copy=false) |
Look-ahead of one transition. Template argument F accepts flags to control behavior.
Definition at line 249 of file lookahead-matcher.h.
| typedef M::Arc fst::ArcLookAheadMatcher< M, F >::Arc |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 253 of file lookahead-matcher.h.
| typedef M::FST fst::ArcLookAheadMatcher< M, F >::FST |
Definition at line 252 of file lookahead-matcher.h.
| typedef Arc::Label fst::ArcLookAheadMatcher< M, F >::Label |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 255 of file lookahead-matcher.h.
| typedef NullAddOn fst::ArcLookAheadMatcher< M, F >::MatcherData |
Definition at line 257 of file lookahead-matcher.h.
| typedef Arc::StateId fst::ArcLookAheadMatcher< M, F >::StateId |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 254 of file lookahead-matcher.h.
| typedef Arc::Weight fst::ArcLookAheadMatcher< M, F >::Weight |
Reimplemented from fst::LookAheadMatcherBase< M::FST::Arc >.
Definition at line 256 of file lookahead-matcher.h.
| fst::ArcLookAheadMatcher< M, F >::ArcLookAheadMatcher | ( | const FST & | fst, | |
| MatchType | match_type, | |||
| MatcherData * | data = 0 | |||
| ) | [inline] |
Definition at line 264 of file lookahead-matcher.h.
| fst::ArcLookAheadMatcher< M, F >::ArcLookAheadMatcher | ( | const ArcLookAheadMatcher< M, F > & | lmatcher, | |
| bool | safe = false | |||
| ) | [inline] |
Definition at line 271 of file lookahead-matcher.h.
| ArcLookAheadMatcher<M, F>* fst::ArcLookAheadMatcher< M, F >::Copy | ( | bool | safe = false |
) | const [inline, virtual] |
General matcher methods.
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 279 of file lookahead-matcher.h.
| bool fst::ArcLookAheadMatcher< M, F >::Done | ( | ) | const [inline] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 291 of file lookahead-matcher.h.
| bool fst::ArcLookAheadMatcher< M, F >::Find | ( | Label | label | ) | [inline] |
Definition at line 290 of file lookahead-matcher.h.
| uint32 fst::ArcLookAheadMatcher< M, F >::Flags | ( | ) | const [inline, virtual] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 296 of file lookahead-matcher.h.
| MatcherData* fst::ArcLookAheadMatcher< M, F >::GetData | ( | ) | const [inline] |
Writable matcher methods.
Definition at line 302 of file lookahead-matcher.h.
| const FST& fst::ArcLookAheadMatcher< M, F >::GetFst | ( | ) | const [inline, virtual] |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 294 of file lookahead-matcher.h.
| void fst::ArcLookAheadMatcher< M, F >::InitLookAheadFst | ( | const Fst< Arc > & | fst, | |
| bool | copy = false | |||
| ) | [inline] |
Definition at line 311 of file lookahead-matcher.h.
| bool fst::ArcLookAheadMatcher< M, F >::LookAheadFst | ( | const Fst< Arc > & | fst, | |
| StateId | s | |||
| ) |
Checks if there is a matching (possibly super-final) transition at (s_, s).
Definition at line 337 of file lookahead-matcher.h.
| bool fst::ArcLookAheadMatcher< M, F >::LookAheadLabel | ( | Label | label | ) | const [inline] |
Look-ahead methods.
Definition at line 305 of file lookahead-matcher.h.
| void fst::ArcLookAheadMatcher< M, F >::Next | ( | ) | [inline] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 293 of file lookahead-matcher.h.
| uint64 fst::ArcLookAheadMatcher< M, F >::Properties | ( | uint64 | props | ) | const [inline, virtual] |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 295 of file lookahead-matcher.h.
| void fst::ArcLookAheadMatcher< M, F >::SetState | ( | StateId | s | ) | [inline] |
Definition at line 285 of file lookahead-matcher.h.
| MatchType fst::ArcLookAheadMatcher< M, F >::Type | ( | bool | test | ) | const [inline, virtual] |
Implements fst::MatcherBase< M::FST::Arc >.
Definition at line 283 of file lookahead-matcher.h.
| const Arc& fst::ArcLookAheadMatcher< M, F >::Value | ( | ) | const [inline] |
Reimplemented from fst::MatcherBase< M::FST::Arc >.
Definition at line 292 of file lookahead-matcher.h.
1.7.1