Home | History | Annotate | Download | only in fst

Lines Matching refs:M2

79 template <class M1, class M2,
80 class F = SequenceComposeFilter<M1, M2>,
85 M2 *matcher2; // FST2 matcher
90 M1 *mat1 = 0, M2 *mat2 = 0,
203 template <class M1, class M2, class F, class T>
206 typedef typename M2::FST FST2;
223 const ComposeFstImplOptions<M1, M2, F, T> &opts);
225 ComposeFstImpl(const ComposeFstImpl<M1, M2, F, T> &impl)
243 virtual ComposeFstImpl<M1, M2, F, T> *Copy() {
244 return new ComposeFstImpl<M1, M2, F, T>(*this);
281 M2 *GetMatcher2() { return matcher2_; }
383 void operator=(const ComposeFstImpl<M1, M2, F, T> &); // disallow
386 template <class M1, class M2, class F, class T> inline
387 ComposeFstImpl<M1, M2, F, T>::ComposeFstImpl(
389 const ComposeFstImplOptions<M1, M2, F, T> &opts)
418 template <class M1, class M2, class F, class T>
419 void ComposeFstImpl<M1, M2, F, T>::SetMatchType() {
480 // - Time: O(v1 v2 d1 (log d2 + m2)),
528 // Compose specifying two matcher types M1 and M2. Requires input
530 // corresponding matcher FST types (M1::FST, M2::FST). Recommended
533 template <class M1, class M2, class F, class T>
534 ComposeFst(const typename M1::FST &fst1, const typename M2::FST &fst2,
535 const ComposeFstImplOptions<M1, M2, F, T> &opts)
561 template <class M1, class M2, class F, class T>
563 const typename M1::FST &fst1, const typename M2::FST &fst2,
564 const ComposeFstImplOptions<M1, M2, F, T> &opts) {
565 Impl *impl = new ComposeFstImpl<M1, M2, F, T>(fst1, fst2, opts);
682 // - Time: O(V1 V2 D1 (log D2 + M2)),
683 // - Space: O(V1 V2 D1 M2)