Cheshire3 Objects: Normaliser |
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.
Function | Parameters | Returns | Description |
---|---|---|---|
__init__ | config, parent | ||
process_string | session, string | data | Process a string into an alternative form |