Class: LLT::Stem::NounPack
Instance Attribute Summary
Attributes inherited from Pack
#lemma, #lemma_key, #stems, #type
Instance Method Summary collapse
-
#initialize(*args) ⇒ NounPack
constructor
A new instance of NounPack.
- #o_decl_with_possible_ne_voc? ⇒ Boolean
- #third_decl_with_possible_ne_abl? ⇒ Boolean
- #third_decl_with_possible_ve_abl? ⇒ Boolean
Methods inherited from Pack
#lemma_with_key, #to_hash, #to_s
Constructor Details
#initialize(*args) ⇒ NounPack
Returns a new instance of NounPack.
4 5 6 7 |
# File 'lib/llt/stem/noun_pack.rb', line 4 def initialize(*args) super(*args) @lemma = @stems.first.nominative end |
Instance Method Details
#o_decl_with_possible_ne_voc? ⇒ Boolean
17 18 19 |
# File 'lib/llt/stem/noun_pack.rb', line 17 def o_decl_with_possible_ne_voc? super { @stems.any?(&:o_decl_with_possible_ne_voc?) } end |
#third_decl_with_possible_ne_abl? ⇒ Boolean
9 10 11 |
# File 'lib/llt/stem/noun_pack.rb', line 9 def third_decl_with_possible_ne_abl? super { @stems.any?(&:third_decl_with_possible_ne_abl?) } end |
#third_decl_with_possible_ve_abl? ⇒ Boolean
13 14 15 |
# File 'lib/llt/stem/noun_pack.rb', line 13 def third_decl_with_possible_ve_abl? super { @stems.any?(&:third_decl_with_possible_ve_abl?) } end |