CleanConfig constructor
const
CleanConfig({
- bool toLowerCase = true,
- bool removeNumbers = true,
- bool removePunctuation = true,
- bool removeExtraSpaces = true,
- bool removeStopwords = false,
- bool removeSpecialChars = true,
- bool removeHtml = true,
- bool removeUrls = true,
- bool removeEmails = true,
- bool removeEmojis = false,
- String language = 'en',
- List<
String Function(String)> ? customFilters,
Implementation
const CleanConfig({
this.toLowerCase = true,
this.removeNumbers = true,
this.removePunctuation = true,
this.removeExtraSpaces = true,
this.removeStopwords = false,
this.removeSpecialChars = true,
this.removeHtml = true,
this.removeUrls = true,
this.removeEmails = true,
this.removeEmojis = false,
this.language = 'en',
this.customFilters,
});