spec/zenlish/support/var2word.rb in zenlish-0.1.24 vs spec/zenlish/support/var2word.rb in zenlish-0.1.25

- old
+ new

@@ -22,33 +22,37 @@ literal2var('a', 'a', '_as_art') literal2var('a', 'an') literal2var('about', 'about') literal2var('above', 'above') def after_adverb ; Lex::Literal.new('after', get_lexeme('after', WClasses::Adverb), 0) ; end + def after_as_prep ; Lex::Literal.new('after', get_lexeme('after', WClasses::Preposition), 0) ; end def after_ ; Lex::Literal.new('after', get_lexeme('after', WClasses::SubordinatingConjunction), 0) ; end literal2var('alive', 'alive') literal2var('all', 'all') def am ; Lex::Literal.new('am', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end literal2var('and', 'and', '_') literal2var('animal', 'animal') literal2var('animal', 'animals') - literal2var('another', 'another') - def are ; Lex::Literal.new('are', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end + def another ; Lex::Literal.new('another', get_lexeme('another', WClasses::Adjective), 0) ; end + def another_as_pronoun ; Lex::Literal.new('another', get_lexeme('another', WClasses::Pronoun), 0) ; end + def are ; Lex::Literal.new('are', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end literal2var('as', 'as') literal2var('at', 'at') literal2var('bad', 'bad') def be_ ; Lex::Literal.new('be', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end literal2var('because', 'because') literal2var('become', 'became') literal2var('become', 'become') literal2var('become', 'becomes') def before_adverb ; Lex::Literal.new('before', get_lexeme('before', WClasses::Adverb), 0) ; end def before_as_adj ; Lex::Literal.new('before', get_lexeme('before', WClasses::Adjective), 0) ; end + def before_as_prep ; Lex::Literal.new('before', get_lexeme('before', WClasses::Preposition), 0) ; end def before ; Lex::Literal.new('before', get_lexeme('before', WClasses::SubordinatingConjunction), 0) ; end literal2var('belong', 'belong') literal2var('belong', 'belongs') literal2var('below', 'below') + literal2var('between', 'between') literal2var('big', 'big') literal2var('big', 'bigger') literal2var('body', 'body') literal2var('but', 'but') literal2var('can', 'can') @@ -56,10 +60,12 @@ literal2var('cause', 'caused') literal2var('cause', 'causes') literal2var('change', 'change', '_') literal2var('change', 'changed') literal2var('change', 'changes') + literal2var('choose', 'choose') + literal2var('choose', 'chose') literal2var('contain', 'contain') literal2var('contain', 'contains') literal2var('container', 'container') literal2var('container', 'containers') literal2var('could', 'could') @@ -116,10 +122,12 @@ literal2var('like', 'like') literal2var('Lisa', 'Lisa') literal2var('live', 'lived') literal2var('living', 'living') literal2var('long', 'long') + literal2var('machine', 'machine') + literal2var('machine', 'machines') literal2var('make', 'made') literal2var('make', 'make') literal2var('many', 'many') literal2var('maybe', 'maybe') literal2var('me', 'me') @@ -197,9 +205,10 @@ literal2var('try', 'try', '_') def two ; Lex::Literal.new('two', get_lexeme('two', WClasses::Cardinal), 0) ; end def two_as_pronoun ; Lex::Literal.new('two', get_lexeme('two', WClasses::IndefinitePronoun), 0) ; end literal2var('use', 'use') literal2var('use', 'used') + literal2var('use', 'using') literal2var('very', 'very') literal2var('want', 'want') literal2var('want', 'wants') def was ; Lex::Literal.new('was', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end def were ; Lex::Literal.new('were', get_lexeme('be', WClasses::IrregularVerbBe), 0) ; end \ No newline at end of file