lib/zenlish/parser/zenlish_grammar.rb in zenlish-0.1.07 vs lib/zenlish/parser/zenlish_grammar.rb in zenlish-0.1.09

- old
+ new

@@ -46,10 +46,11 @@ rule 'compound_noun_phrase' => 'simple_noun_phrase propositional_phrase' rule 'compound_noun_phrase' => 'simple_noun_phrase comparative_clause' # <numeral> of this/these... rule 'numeral_of' => 'numeral PrepositionOf DemonstrativeDeterminer' + rule 'numeral_of' => 'numeral PrepositionOf DefiniteArticle' rule 'subset_of' => 'IndefiniteQuantifier PrepositionOf DemonstrativeDeterminer' rule 'nominal' => 'CommonNoun' rule 'nominal' => 'Adjective CommonNoun' rule 'determiner' => 'determiner single_determiner' rule 'determiner' => 'single_determiner' @@ -74,9 +75,10 @@ rule 'verb_group' => 'lexical_verb' rule 'verb_group' => 'AuxiliaryBe lexical_verb' rule 'lexical_verb' => 'RegularVerb' rule 'lexical_verb' => 'IrregularVerb' rule 'lexical_verb' => 'IrregularVerbBe' + rule 'lexical_verb' => 'IrregularVerbHave' rule 'lexical_verb' => 'IrregularVerbSay' rule 'numeral' => 'Cardinal' rule 'comparative_clause' => 'comparative_start noun_phrase' rule 'comparative_clause' => 'comparative_start affirmative_sentence' rule 'comparative_clause' => 'comparative_start DefiniteArticle Adjective Cardinal'