Cheshire3 Objects: Normalizer


Normalizer objects are chained after Extractors in order to transform the data from the record or query. A Normalizer might standardise case, perform stemming or transform a date into ISO8601 format. Normalizers are also needed to transform the terms in a request into the same format as the term in the Index. For example a date index might be searched using a free text date and that would need to be parsed into the normalised form in order to compare it with the stored data.

__init__config, parent 
process_stringsession, stringdataProcess a string into an alternative form