grafeno.transformers.prepositions module¶
-
class
grafeno.transformers.prepositions.Transformer(graph=None, lang='en', **kwds)¶ Bases:
grafeno.transformers.base.TransformerProcesses prepositions, trying to turn them into
COMPedges with the preposition lemma as theclassgrammateme.These edges join the prepositional phrase nucleus (direct dependent of the preposition, head) with the parent (direct dominating node of the preposition).
Methods
-
post_process()¶
-
transform_dep(dep, parent, child)¶
-
transform_node(msnode)¶
-