Package miopia :: Package classifier :: Module ClassificationStrategy :: Class ClassificationStrategy
[hide private]
[frames] | no frames]

Class ClassificationStrategy

source code

object --+
         |
        ClassificationStrategy
Known Subclasses:

classdocs

Instance Methods [hide private]
 
__init__(self, threshold)
Constructor
source code
 
_type(self, sentiment_info) source code
 
polarity_info(self, info, **kwargs) source code
 
polarity(self, list_info, **kwargs)
Returns: A list of tuples (textID,PolarityType)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, threshold)
(Constructor)

source code 

Constructor

Overrides: object.__init__

polarity(self, list_info, **kwargs)

source code 
Parameters:
Returns:
A list of tuples (textID,PolarityType)