Cambridge SMT System
|
Struct containing rule positions and offsets. More...
#include <data.grammar.comparetool.hpp>
Public Attributes | |
std::size_t | p |
position More... | |
short | o |
offset More... | |
std::size_t | order |
absolute index More... | |
Struct containing rule positions and offsets.
Positions are needed to mark the place where the rule has to be searched for (e.g. source phrase). Offsets are needed to indicate where the rule actually starts.
Definition at line 36 of file data.grammar.comparetool.hpp.
short ucam::hifst::posindex::o |
offset
Definition at line 40 of file data.grammar.comparetool.hpp.
std::size_t ucam::hifst::posindex::order |
absolute index
Definition at line 42 of file data.grammar.comparetool.hpp.
std::size_t ucam::hifst::posindex::p |
position
Definition at line 38 of file data.grammar.comparetool.hpp.