Home | History | Annotate | Download | only in fst

Lines Matching refs:opts

337   explicit DeterminizeFstOptions(const CacheOptions &opts,
341 : CacheOptions(opts), delta(del), subsequential_label(lab),
375 const DeterminizeFstOptions<A, D, F, T> &opts)
376 : CacheImpl<A>(opts), fst_(fst.Copy()) {
380 opts.subsequential_label != 0);
474 const DeterminizeFstOptions<A, D, F, T> &opts)
475 : DeterminizeFstImplBase<A>(fst, opts),
476 delta_(opts.delta),
479 filter_(opts.filter ? opts.filter : new F()),
480 state_table_(opts.state_table ? opts.state_table : new T()) {
714 const DeterminizeFstOptions<A, D, F, T> &opts)
715 : DeterminizeFstImplBase<A>(fst, opts),
716 delta_(opts.delta),
717 subsequential_label_(opts.subsequential_label) {
812 DeterminizeFstOptions<A, D, F, T> opts;
815 SetImpl(new DeterminizeFsaImpl<A, D, F, T>(fst, 0, 0, opts));
819 DeterminizeFstImpl<A, STRING_LEFT_RESTRICT, D, F, T>(fst, opts));
825 const DeterminizeFstOptions<A, D, F, T> &opts) {
828 SetImpl(new DeterminizeFsaImpl<A, D, F, T>(fst, 0, 0, opts));
832 DeterminizeFstImpl<A, STRING_LEFT_RESTRICT, D, F, T>(fst, opts));
842 const DeterminizeFstOptions<A, D, F, T> &opts) {
848 SetImpl(new DeterminizeFsaImpl<A, D, F, T>(fst, in_dist, out_dist, opts));
981 const DeterminizeOptions<Arc> &opts
987 nopts.delta = opts.delta;
988 nopts.subsequential_label = opts.subsequential_label;
992 if (opts.weight_threshold != Weight::Zero() ||
993 opts.state_threshold != kNoStateId) {
998 PruneOptions< Arc, AnyArcFilter<Arc> > popts(opts.weight_threshold,
999 opts.state_threshold,
1005 Prune(ofst, opts.weight_threshold, opts.state_threshold);