class Zenlish::WClasses::Noun
A noun denotes classes and categories of things in the unverse of discourse. Nouns denote people, animals, inanimate things, places, events, qualities and states.
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/zenlish/wclasses/noun.rb, line 11 def initialize super() init_feature_defs end
Public Instance Methods
invariable?()
click to toggle source
Nouns inflect according to number, possessive. Therefore they are variable.
# File lib/zenlish/wclasses/noun.rb, line 18 def invariable? false end
Private Instance Methods
init_feature_defs()
click to toggle source
# File lib/zenlish/wclasses/noun.rb, line 24 def init_feature_defs # Create standard feature definitions for nouns. feature_def_dsl do feature_def 'NUMBER' => enumeration(:singular, :plural) feature_def 'COUNTABILITY' => enumeration(:count, :non_count) feature_def 'PARADIGM' => [identifier, 'Common_form'] # 2nd item is default value end end