Cambridge SMT System
data.grammar.comparetool.hpp File Reference

Contains structures and classes for GrammarData. More...

This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Contains structures and classes for GrammarData.

Date
8-8-2012
Author
Gonzalo Iglesias

Definition in file data.grammar.comparetool.hpp.