class documentation
class AtomicExpression(Expression): (source)
Known subclasses: nltk.sem.linearlogic.ConstantExpression
, nltk.sem.linearlogic.VariableExpression
Constructor: AtomicExpression(name, dependencies)
Undocumented
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
No summary |
Method | __ne__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | compile |
From Iddo Lev's PhD Dissertation p108-109 |
Method | compile |
From Iddo Lev's PhD Dissertation p108-109 |
Method | initialize |
Undocumented |
Method | simplify |
If 'self' is bound by 'bindings', return the atomic to which it is bound. Otherwise, return self. |
Instance Variable | dependencies |
Undocumented |
Instance Variable | name |
Undocumented |
Inherited from Expression
:
Class Method | fromstring |
Undocumented |
Method | __call__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | applyto |
Undocumented |
Class Variable | _linear |
Undocumented |
Parameters | |
name | str for the constant name |
dependencies | list of int for the indices on which this atom is dependent |
From Iddo Lev's PhD Dissertation p108-109
Parameters | |
index | Counter for unique indices |
glue | GlueFormula for creating new glue formulas |
Returns | |
(Expression,set) for the compiled linear logic and any newly created glue formulas |
From Iddo Lev's PhD Dissertation p108-109
Parameters | |
index | Counter for unique indices |
glue | GlueFormula for creating new glue formulas |
Returns | |
(Expression,set) for the compiled linear logic and any newly created glue formulas |