Home | History | Annotate | Download | only in pdt

Lines Matching refs:opts

46       const CacheOptions &opts = CacheOptions(),
50 : CacheOptions(opts), keep_parentheses(kp), stack(s), state_table(st) {}
88 const ExpandFstOptions<A> &opts)
89 : CacheImpl<A>(opts), fst_(fst.Copy()),
90 stack_(opts.stack ? opts.stack: new PdtStack<StateId, Label>(parens)),
91 state_table_(opts.state_table ? opts.state_table :
93 own_stack_(opts.stack == 0), own_state_table_(opts.state_table == 0),
94 keep_parentheses_(opts.keep_parentheses) {
246 const ExpandFstOptions<A> &opts)
247 : ImplToFst<Impl>(new Impl(fst, parens, opts)) {}
348 // epsilons or not during the expansion. 'opts' is the cache options
353 const CacheOptions &opts = CacheOptions())
358 ExpandFstOptions<Arc>(opts, true, &stack_, &state_table_)),
937 const ExpandOptions<Arc> &opts) {
945 if (opts.weight_threshold == Weight::Zero()) {
946 eopts.keep_parentheses = opts.keep_parentheses;
949 PrunedExpand<Arc> pruned_expand(ifst, parens, opts.keep_parentheses);
950 pruned_expand.Expand(ofst, opts.weight_threshold);
953 if (opts.connect)