Cambridge SMT System
data.ssgrammar.hpp File Reference

Contains sentence-specific grammar data. More...

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

Go to the source code of this file.

Classes

struct  ucam::hifst::SentenceSpecificGrammarData
 Structure for sentence-specific grammar Rules will be queried by cyk per position and number of elements in the right-hand-side (source) of the rule Therefore indices are stored in this fashion so queries can be done directly. Note: a more efficient implementation could be to store these rule indices in a structure much closer even to the cyk grid. For instance, if an instanced pattern has never been seen below span 5, there is no need for the cyk to query and reject it. More...
 

Namespaces

 ucam
 
 ucam::hifst
 

Functions

bool ucam::hifst::phraseIsTerminalWord (const std::string &phrase)
 

Detailed Description

Contains sentence-specific grammar data.

Date
16-8-2012
Author
Gonzalo Iglesias
Remarks
This file has been reviewed/modified by:

Definition in file data.ssgrammar.hpp.