#include <table-matcher.h>
Public Types | |
typedef F | FST |
typedef F::Arc | Arc |
typedef Arc::Label | Label |
typedef Arc::StateId | StateId |
typedef StateId | ArcId |
typedef Arc::Weight | Weight |
typedef TableMatcherImpl< F, BackoffMatcher > | Impl |
Public Member Functions | |
TableMatcher (const FST &fst, MatchType match_type, const TableMatcherOptions &opts=TableMatcherOptions()) | |
TableMatcher (const TableMatcher< FST, BackoffMatcher > &matcher, bool safe=false) | |
virtual const FST & | GetFst () const |
virtual MatchType | Type (bool test) const |
void | SetState (StateId s) |
bool | Find (Label match_label) |
const Arc & | Value () const |
void | Next () |
bool | Done () const |
const Arc & | Value () |
virtual TableMatcher< FST, BackoffMatcher > * | Copy (bool safe=false) const |
virtual uint64 | Properties (uint64 props) const |
Private Member Functions | |
virtual void | SetState_ (StateId s) |
virtual bool | Find_ (Label label) |
virtual bool | Done_ () const |
virtual const Arc & | Value_ () const |
virtual void | Next_ () |
TableMatcher & | operator= (const TableMatcher &)=delete |
Private Attributes | |
std::shared_ptr< Impl > | impl_ |
Definition at line 243 of file table-matcher.h.
typedef F::Arc Arc |
Definition at line 246 of file table-matcher.h.
Definition at line 249 of file table-matcher.h.
typedef F FST |
Definition at line 245 of file table-matcher.h.
typedef TableMatcherImpl<F, BackoffMatcher> Impl |
Definition at line 252 of file table-matcher.h.
typedef Arc::Label Label |
Definition at line 247 of file table-matcher.h.
typedef Arc::StateId StateId |
Definition at line 248 of file table-matcher.h.
typedef Arc::Weight Weight |
Definition at line 251 of file table-matcher.h.
|
inline |
Definition at line 254 of file table-matcher.h.
|
inline |
Definition at line 258 of file table-matcher.h.
|
inlinevirtual |
Definition at line 282 of file table-matcher.h.
Referenced by fst::TableCompose().
|
inline |
Definition at line 278 of file table-matcher.h.
|
inlineprivatevirtual |
Definition at line 293 of file table-matcher.h.
Definition at line 272 of file table-matcher.h.
Definition at line 292 of file table-matcher.h.
|
inlinevirtual |
Definition at line 266 of file table-matcher.h.
|
inline |
Definition at line 276 of file table-matcher.h.
|
inlineprivatevirtual |
Definition at line 295 of file table-matcher.h.
|
privatedelete |
|
inlinevirtual |
Definition at line 286 of file table-matcher.h.
|
inline |
Definition at line 270 of file table-matcher.h.
|
inlineprivatevirtual |
Definition at line 291 of file table-matcher.h.
|
inlinevirtual |
Definition at line 268 of file table-matcher.h.
|
inline |
Definition at line 274 of file table-matcher.h.
|
inline |
Definition at line 280 of file table-matcher.h.
|
inlineprivatevirtual |
Definition at line 294 of file table-matcher.h.
|
private |
Definition at line 289 of file table-matcher.h.