Package nltk_lite :: Package semantics :: Module logic :: Class Constant
[hide private]
[frames] | no frames]

Class Constant

source code

A nonlogical constant.

Instance Methods [hide private]
 
__init__(self, name)
Create a new Constant.
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
equals(self, other)
A comparison function.
source code
 
__str__(self) source code
 
__repr__(self) source code
 
__hash__(self) source code
Method Details [hide private]

__init__(self, name)
(Constructor)

source code 

Create a new Constant.

Parameters:
  • name (string) - The name of the constant.