Module: LLT::DbHandler::Prometheus::DbToLemma
- Included in:
- StemDatabase::Db
- Defined in:
- lib/llt/db_handler/prometheus/db_to_lemma.rb
Instance Method Summary collapse
-
#to_lemma(detailed = false) ⇒ Object
to be included by Db classes, the module is tightly coupled to them.
Instance Method Details
#to_lemma(detailed = false) ⇒ Object
to be included by Db classes, the module is tightly coupled to them
8 9 10 11 12 13 14 |
# File 'lib/llt/db_handler/prometheus/db_to_lemma.rb', line 8 def to_lemma(detailed = false) if detailed "#{base_lemma}##{number_attr}, #{category}#{str_helper(:inflectable_class, 'iclass')}#{str_helper(:sexus)}" else base_lemma end end |