Package miopia :: Package preprocessor :: Module TwitterUserNameProcessor :: Class TwitterUserNameProcessor
[hide private]
[frames] | no frames]

Class TwitterUserNameProcessor

source code

                             object --+        
                                      |        
            PreProcessorI.PreProcessorI --+    
                                          |    
PreProcessorDecorator.PreProcessorDecorator --+
                                              |
                                             TwitterUserNameProcessor

classdocs

Instance Methods [hide private]
 
__init__(self, component)
Constructor
source code
 
preprocess(self, text)
Preprocess twitter usernames
source code
 
_twitter_names_transformation(self, text)
@param text.
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, component)
(Constructor)

source code 

Constructor

Overrides: object.__init__
(inherited documentation)

preprocess(self, text)

source code 

Preprocess twitter usernames

Parameters:
  • text - A tweet. It is a String
Overrides: PreProcessorI.PreProcessorI.preprocess

_twitter_names_transformation(self, text)

source code 

@param text. A tweet. It is a String