Cheshire3 Objects: Normaliser

Description

Normaliser objects are chained after Extracters in order to transform the data from the record or query. A Normaliser might standardise case, perform stemming or transform a date into ISO8601 format. Normalisers 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.

Implementations
API

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