CleanConfig constructor

const CleanConfig({
  1. bool toLowerCase = true,
  2. bool removeNumbers = true,
  3. bool removePunctuation = true,
  4. bool removeExtraSpaces = true,
  5. bool removeStopwords = false,
  6. bool removeSpecialChars = true,
  7. bool removeHtml = true,
  8. bool removeUrls = true,
  9. bool removeEmails = true,
  10. bool removeEmojis = false,
  11. String language = 'en',
  12. 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,
});