Cheshire3 Object Model: Class SimpleNormalizer

Module normalizer :: Class SimpleNormalizer

Class SimpleNormalizer
source code

Object Tree:
           object --+        
                    |        
configParser.C3Object --+    
                        |    
   baseObjects.Normalizer --+
                            |
                           SimpleNormalizer
Known Subclasses:
ArticleNormalizer, CaseNormalizer, DataExistsNormalizer, DateStringNormalizer, DiacriticNormalizer, ExactExpansionNormalizer, IntNormalizer, KeywordNormalizer, NumericEntityNormalizer, PhraseStemNormalizer, PossessiveNormalizer, RangeNormalizer, RegexpNormalizer, ReverseNormalizer, SpaceNormalizer, StemNormalizer, StoplistNormalizer, StringIntNormalizer, TermExistsNormalizer, WordExpansionNormalizer, textmining.tmNormalizer.PosNormalizer, textmining.tmNormalizer.GeniaStemNormalizer, textmining.tmNormalizer.GeniaTextNormalizer, textmining.tmNormalizer.PosPhraseNormalizer, textmining.tmNormalizer.PosTypeNormalizer

Base normalizer. Simply returns the data (shouldn't be used directly)

Instance Methods

__init__(self, session, config, parent)
The constructor for all Cheshire3 objects take the same arguments: session: A Session object topNode: The <config> or <subConfig> domNode for the configuration parent: The object that provides the scope for this object.
process_hash(self, session, data)
Process a hash of values into alternative forms.
process_string(self, session, data)
Process a string into an alternative form.

Inherited from configParser.C3Object: auth_function, get_config, get_default, get_object, get_path, get_setting, log_function, unauth_function, unlog_function

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


Class Variables

Inherited from configParser.C3Object: configStore, defaults, functionLogger, id, name, objectType, objects, parent, paths, permissionHandlers, settings, subConfigs, unresolvedObjects

Inherited from object: __class__


Method Details

__init__(self, session, config, parent)
(Constructor)

source code 
The constructor for all Cheshire3 objects take the same arguments: session: A Session object topNode: The <config> or <subConfig> domNode for the configuration parent: The object that provides the scope for this object.
Overrides: configParser.C3Object.__init__
(inherited documentation)

process_hash(self, session, data)

source code 
Process a hash of values into alternative forms.
Overrides: baseObjects.Normalizer.process_hash
(inherited documentation)

process_string(self, session, data)

source code 
Process a string into an alternative form.
Overrides: baseObjects.Normalizer.process_string
(inherited documentation)