Inherits MatcherBase< M::Arc >.
List of all members.
class fst::PhiMatcher< M >
For any requested label that doesn't match at a state, this matcher considers the *unique* transition that match the label 'phi_label' (phi = 'fail'), and recursively look for a match at its destination. When 'phi_loop' is true, if no match is found but a phi self-loop is found, then the phi transition found is returned with the phi_label rewritten as the requested label (both sides if an acceptor, or if 'rewrite_both' is true and both input and output labels of the found transition are 'phi_label'). If 'phi_label' is kNoLabel, this special matching is not done. PhiMatcher is templated itself on a matcher, which is used to perform the underlying matching. By default, the underlying matcher is constructed by PhiMatcher. The user can instead pass in this object; in that case, PhiMatcher takes its ownership. Warning: phi non-determinism not supported (for simplicity).
Definition at line 652 of file matcher.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: