alex.components.nlg.tectotpl.tool.lexicon package¶
Submodules¶
alex.components.nlg.tectotpl.tool.lexicon.cs module¶
-
class
alex.components.nlg.tectotpl.tool.lexicon.cs.
Lexicon
[source]¶ Bases:
object
-
get_possessive_adj_for
(noun_lemma)[source]¶ Given a noun lemma, this returns a possessive adjective if it’s in the database.
-
has_expletive
(lemma)[source]¶ Return an expletive for a ‘že’-clause that this verb governs, or False. Lemmas must include reflexive particles for reflexiva tantum.
-
has_synthetic_future
(verb_lemma)[source]¶ Returns True if the verb builds a synthetic future tense form with the prefix ‘po-‘/’pů-‘.
-
inflect_conditional
(lemma, number, person)[source]¶ Return inflected form of a conditional particle/conjunction
-
is_coord_conj
(lemma)[source]¶ Return ‘Y’/’N’ if the given lemma is a coordinating conjunction (depending on whether one should write a comma directly in front).
-
is_incongruent_numeral
(numeral)[source]¶ Return True if the given lemma belongs to a Czech numeral that takes a genitive attribute instead of being an attribute itself
-
is_named_entity_label
(lemma)[source]¶ Return ‘I’/’C’ if the given lemma is a named entity label (used as congruent/incongruent attribute).
-