ZGen  0.2.0
a linearization system for natural language.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
decode_context.h
Go to the documentation of this file.
1 #ifndef __ZGEN_SHIFTREDUCE_DECODE_CONTEXT_H__
2 #define __ZGEN_SHIFTREDUCE_DECODE_CONTEXT_H__
4 
5 namespace ZGen {
6 namespace ShiftReduce {
7 
9 struct DecodeContext {
10  DecodeContext();
12 
15 };
16 
17 } // end for namespace ShiftReduce
18 } // end for namespace ZGen
19 
20 
21 #endif // end for __ZGEN_SHIFTREDUCE_DECODE_CONTEXT_H__
Definition: state.h:15
StateItem * lattice_index[kMaxSteps]
The lattice for decoding.
Definition: decode_context.h:14
Used to maintain the memory cache used by the decoder.
Definition: decode_context.h:9
StateItem * lattice
Definition: decode_context.h:13
DecodeContext()
Definition: decode_context.cc:7
~DecodeContext()
Definition: decode_context.cc:11
const int kMaxSteps
Definition: settings.h:10