class documentation

A Comparison represents a comparative sentence and its constituents.

Method __init__ No summary
Method __repr__ Undocumented
Instance Variable comp_type Undocumented
Instance Variable entity_1 Undocumented
Instance Variable entity_2 Undocumented
Instance Variable feature Undocumented
Instance Variable keyword Undocumented
Instance Variable text Undocumented
def __init__(self, text=None, comp_type=None, entity_1=None, entity_2=None, feature=None, keyword=None): (source)
Parameters
texta string (optionally tokenized) containing a comparation.
comp_typean integer defining the type of comparison expressed. Values can be: 1 (Non-equal gradable), 2 (Equative), 3 (Superlative), 4 (Non-gradable).
entity_1the first entity considered in the comparison relation.
entity_2the second entity considered in the comparison relation.
featurethe feature considered in the comparison relation.
keywordthe word or phrase which is used for that comparative relation.
def __repr__(self): (source)

Undocumented

comp_type = (source)

Undocumented

entity_1 = (source)

Undocumented

entity_2 = (source)

Undocumented

Undocumented

Undocumented

Undocumented