Class: Zenlish::WClasses::Noun

Inherits:
WordClass
  • Object
show all
Defined in:
lib/zenlish/wclasses/noun.rb

Overview

A noun denotes classes and categories of things in the unverse of discourse. Nouns denote people, animals, inanimate things, places, events, qualities and states.

Direct Known Subclasses

CommonNoun, ProperNoun

Instance Attribute Summary

Attributes inherited from WordClass

#paradigms

Instance Method Summary collapse

Methods inherited from WordClass

#extension

Methods included from Feature::FeatureStructDefBearer

#[], #boolean, #enumeration, #feature_def, #feature_def_dsl, #identifier, #init_struct_def, #struct

Constructor Details

#initializeNoun

Returns a new instance of Noun.



9
10
11
12
# File 'lib/zenlish/wclasses/noun.rb', line 9

def initialize
  super()
  init_feature_defs
end

Instance Method Details

#invariable?Boolean

Nouns inflect according to number, possessive. Therefore they are variable.

Returns:

  • (Boolean)


16
17
18
# File 'lib/zenlish/wclasses/noun.rb', line 16

def invariable?
  false
end