LowercaseNormalizer

class squirro.lib.nlp.steps.normalizers.LowercaseNormalizer(config)

Bases: squirro.lib.nlp.steps.normalizers.Normalizer

Lowercase normalizer that lowercases everything

Parameters

type (str) – lowercase

Methods Summary

process_doc(doc)

Process a document

Methods Documentation

process_doc(doc)

Process a document

Parameters

doc (Document) – Document

Returns

Processed document

Return type

Document