OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:stack_id
(Results
1 - 2
of
2
) sorted by null
/external/openfst/src/include/fst/extensions/pdt/
pdt.h
48
// 'child_map_' accessed by
stack_id
and label. The paren_id is
84
StackId Find(StackId
stack_id
, Label label) {
86
return
stack_id
; // Non-paren.
91
return
stack_id
;
95
StackId &child_id = child_map_[make_pair(
stack_id
, label)];
98
nodes_.push_back(StackNode(
stack_id
, paren_id));
103
const StackNode &node = nodes_[
stack_id
];
112
StackId Pop(StackId
stack_id
) const {
113
return nodes_[
stack_id
].parent_id;
116
// Returns the paren ID at the top of the stack for '
stack_id
'
158
StackId
stack_id
;
member in struct:fst::PdtStateTuple
[
all
...]
expand.h
141
if (w != Weight::Zero() && tuple.
stack_id
== 0)
181
StackId
stack_id
= stack_->Find(tuple.
stack_id
, arc.ilabel);
local
182
if (
stack_id
== -1) {
185
} else if ((
stack_id
!= tuple.
stack_id
) && !keep_parentheses_) {
190
StateTuple ntuple(arc.nextstate,
stack_id
);
400
StackId si1 = state_table_.Tuple(s1).
stack_id
;
401
StackId si2 = state_table_.Tuple(s2).
stack_id
;
890
StackId
stack_id
= state_table_.Tuple(s).stack_id
local
[
all
...]
Completed in 82 milliseconds