|
Cambridge SMT System
|
Contains structures and classes for GrammarData. More...

Go to the source code of this file.
Classes | |
| struct | ucam::hifst::posindex |
| Struct containing rule positions and offsets. More... | |
| class | ucam::hifst::CompareTool |
| Class that provides basic string comparison between two const char *. More... | |
| class | ucam::hifst::PosIndexCompare |
| Functor Class that provides comparison accross the posindex structure. This is typically used e.g. with a priority queue. It can use CompareTool or any inherited class. More... | |
| class | ucam::hifst::PatternCompareTool |
| Class that provides "pattern" comparison between two const char *. The "patterns" are an abstraction of any non-terminal A-Z. So for instance, consider non_terminals A and Z. A rule with source 3_A_5 and another one with source 3_Z_5 are equivalent and need to be listed together (with any other equivalent sources). This class can be used with PosIndexCompare as it inherits from CompareTool. More... | |
Namespaces | |
| ucam | |
| ucam::hifst | |
Contains structures and classes for GrammarData.
Definition in file data.grammar.comparetool.hpp.