Cambridge SMT System
|
Contains implementation for sentence-specific grammar task. More...
Go to the source code of this file.
Classes | |
class | ucam::hifst::SentenceSpecificGrammarTask< Data > |
This class uses instantiated patterns to analyze the grammar and deliver two hashes providing candidate rules for a (cyk) parser to validate them. The first hash is for rules with only one element (e.g. A->word, A->B). The second hash is for rules with two or more elements. Both hashes require two keys: the word position in the sentence (x) and the first element of the rule (which can be either a word or non-terminal). More... | |
Namespaces | |
ucam | |
ucam::hifst | |
Contains implementation for sentence-specific grammar task.
Definition in file task.ssgrammar.hpp.