๐Ÿ“š ml_text_cleaner

A powerful, modular, and extensible text cleaning library for Dart & Flutter.

โœจ Features

  • Lowercase conversion (Unicode)
  • Remove punctuation, numbers, special characters
  • Remove HTML tags, URLs, emails, emojis
  • Stopword removal (EN, TR)
  • Chain custom filters via config
  • Highly extensible

๐Ÿš€ Example

final cleaner = BasicCleaner(
  config: CleanConfig(
    removeStopwords: true,
    language: 'en',
  ),
);

final cleaned = cleaner.clean("Hello! This is <b>an</b> example text with emojis ๐Ÿ˜„.");
print(cleaned); // hello example text emojis

๐Ÿ“ฆ Installation

dart pub add ml_text_cleaner

๐Ÿงช Run tests

dart test

๐Ÿ“„ License

MIT