clevercloud.CleverClean
Module Contents
Functions
|
A preprocessor to convert all letters to lower case, and to remove all punctuations and digits from the text. |
- clevercloud.CleverClean.CleverClean(text)[source]
A preprocessor to convert all letters to lower case, and to remove all punctuations and digits from the text.
- Parameters
text (pandas.series) – Input a pandas series of text / strings
- Returns
A long string containing the cleaned of version of all text
- Return type
str
Examples
>>> sample_text = pandas.Series('Apple is MY favorite!') >>> CleverClean(sample_text) 'apple is my favorite'