FST
openfst-1.8.4
OpenFst Library
|
#include <compose.h>
Public Types | |
using | FST1 = typename Filter::FST1 |
using | FST2 = typename Filter::FST2 |
using | Arc = typename Filter::Arc |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | Matcher1 = typename Filter::Matcher1 |
using | Matcher2 = typename Filter::Matcher2 |
using | StackId = StateId |
using | ParenStack = internal::MPdtStack< StackId, Label > |
using | FilterState1 = typename Filter::FilterState |
using | FilterState2 = IntegerFilterState< StackId > |
using | FilterState = PairFilterState< FilterState1, FilterState2 > |
Public Member Functions | |
MPdtParenFilter (const FST1 &fst1, const FST2 &fst2, Matcher1 *matcher1=nullptr, Matcher2 *matcher2=nullptr, const std::vector< std::pair< Label, Label >> *parens=nullptr, const std::vector< Label > *assignments=nullptr, bool expand=false, bool keep_parens=true) | |
MPdtParenFilter (const MPdtParenFilter &filter, bool safe=false) | |
FilterState | Start () const |
void | SetState (StateId s1, StateId s2, const FilterState &fs) |
FilterState | FilterArc (Arc *arc1, Arc *arc2) const |
void | FilterFinal (Weight *w1, Weight *w2) const |
Matcher1 * | GetMatcher1 () |
Matcher2 * | GetMatcher2 () |
uint64_t | Properties (uint64_t iprops) const |
using fst::MPdtParenFilter< Filter >::Arc = typename Filter::Arc |
using fst::MPdtParenFilter< Filter >::FilterState = PairFilterState<FilterState1, FilterState2> |
using fst::MPdtParenFilter< Filter >::FilterState1 = typename Filter::FilterState |
using fst::MPdtParenFilter< Filter >::FilterState2 = IntegerFilterState<StackId> |
using fst::MPdtParenFilter< Filter >::FST1 = typename Filter::FST1 |
using fst::MPdtParenFilter< Filter >::FST2 = typename Filter::FST2 |
using fst::MPdtParenFilter< Filter >::Label = typename Arc::Label |
using fst::MPdtParenFilter< Filter >::Matcher1 = typename Filter::Matcher1 |
using fst::MPdtParenFilter< Filter >::Matcher2 = typename Filter::Matcher2 |
using fst::MPdtParenFilter< Filter >::ParenStack = internal::MPdtStack<StackId, Label> |
using fst::MPdtParenFilter< Filter >::StackId = StateId |
using fst::MPdtParenFilter< Filter >::StateId = typename Arc::StateId |
using fst::MPdtParenFilter< Filter >::Weight = typename Arc::Weight |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |