Home | History | Annotate | Download | only in pdt

Lines Matching refs:paren

28 #include <fst/extensions/pdt/paren.h>
481 ParenMultimap close_paren_multimap_; // Maps open paren arcs to
482 paren arcs.
496 ssize_t current_paren_id_; // Paren id at top of current stack
502 // 'cached_source_' and paren id 'cached_paren_id': the set of
503 // source state of a close parenthesis with paren id
505 // paren id 'cached_paren_id' in state 'cached_source_'.
515 // Initializes close paren multimap, mapping pairs (s,paren_id) to
535 if (arc.ilabel == parens[pit->second].second) { // Close paren
545 // in 'ifst_', 'dest' must be the source state of a close paren arc.
735 // Processes an open paren arc 'arc' out of state 's' in 'ofst_'.
736 // When 'arc' is labeled with an open paren,
738 // taking 'arc' and ending by a close paren balancing the open
739 // paren of 'arc' as a meta-arc, processes and prunes each meta-arc
740 // as a non-paren arc, inserting its destination to the queue;
753 VLOG(2) << "Open paren: " << s << "(" << state_table_.Tuple(s).state_id
768 VLOG(2) << "Close paren source: " << source;
794 VLOG(2) << "Proc open paren " << s << " to " << arc.nextstate;
811 // Checks that shortest path through close paren arc in 'efst_' is
826 // states in 'ifst_' that have an outgoing close paren arc balancing
827 // the incoming open paren taken to get to 's', and for each such