#include <fst/matcher.h>

Public Types | |
| typedef M::FST | FST |
| typedef M::Arc | Arc |
| typedef Arc::StateId | StateId |
| typedef Arc::Label | Label |
| typedef Arc::Weight | Weight |
Public Member Functions | |
| MultiEpsMatcher (const FST &fst, MatchType match_type, uint32 flags=(kMultiEpsLoop|kMultiEpsList), M *matcher=0, bool own_matcher=true) | |
| MultiEpsMatcher (const MultiEpsMatcher< M > &matcher, bool safe=false) | |
| ~MultiEpsMatcher () | |
| MultiEpsMatcher< M > * | Copy (bool safe=false) const |
| MatchType | Type (bool test) const |
| void | SetState (StateId s) |
| bool | Find (Label match_label) |
| bool | Done () const |
| const Arc & | Value () const |
| void | Next () |
| const FST & | GetFst () const |
| uint64 | Properties (uint64 props) const |
| uint32 | Flags () const |
| void | AddMultiEpsLabel (Label label) |
| void | ClearMultiEpsLabels () |
MultiEpsMatcher: allows treating multiple non-0 labels as non-consuming labels in addition to 0 that is always non-consuming. Precise behavior controlled by 'flags' argument. By default, the underlying matcher is constructed by MultiEpsMatcher. The user can instead pass in this object; in that case, MultiEpsMatcher takes its ownership iff 'own_matcher' is true.
Definition at line 840 of file matcher.h.
| typedef M::Arc fst::MultiEpsMatcher< M >::Arc |
| typedef M::FST fst::MultiEpsMatcher< M >::FST |
| typedef Arc::Label fst::MultiEpsMatcher< M >::Label |
| typedef Arc::StateId fst::MultiEpsMatcher< M >::StateId |
| typedef Arc::Weight fst::MultiEpsMatcher< M >::Weight |
| fst::MultiEpsMatcher< M >::MultiEpsMatcher | ( | const FST & | fst, | |
| MatchType | match_type, | |||
| uint32 | flags = (kMultiEpsLoop | kMultiEpsList), |
|||
| M * | matcher = 0, |
|||
| bool | own_matcher = true | |||
| ) | [inline] |
| fst::MultiEpsMatcher< M >::MultiEpsMatcher | ( | const MultiEpsMatcher< M > & | matcher, | |
| bool | safe = false | |||
| ) | [inline] |
| fst::MultiEpsMatcher< M >::~MultiEpsMatcher | ( | ) | [inline] |
| void fst::MultiEpsMatcher< M >::AddMultiEpsLabel | ( | Label | label | ) | [inline] |
| void fst::MultiEpsMatcher< M >::ClearMultiEpsLabels | ( | ) | [inline] |
| MultiEpsMatcher<M>* fst::MultiEpsMatcher< M >::Copy | ( | bool | safe = false |
) | const [inline] |
| bool fst::MultiEpsMatcher< M >::Done | ( | ) | const [inline] |
| bool fst::MultiEpsMatcher< M >::Find | ( | Label | match_label | ) | [inline] |
| uint32 fst::MultiEpsMatcher< M >::Flags | ( | ) | const [inline] |
| const FST& fst::MultiEpsMatcher< M >::GetFst | ( | ) | const [inline] |
| void fst::MultiEpsMatcher< M >::Next | ( | ) | [inline] |
| uint64 fst::MultiEpsMatcher< M >::Properties | ( | uint64 | props | ) | const [inline] |
| void fst::MultiEpsMatcher< M >::SetState | ( | StateId | s | ) | [inline] |
| MatchType fst::MultiEpsMatcher< M >::Type | ( | bool | test | ) | const [inline] |
| const Arc& fst::MultiEpsMatcher< M >::Value | ( | ) | const [inline] |
1.7.1