ml_text_cleaner 0.1.0 copy "ml_text_cleaner: ^0.1.0" to clipboard
ml_text_cleaner: ^0.1.0 copied to clipboard

A powerful and extensible text cleaning library for Dart and Flutter.

๐Ÿ“š 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

0
likes
130
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful and extensible text cleaning library for Dart and Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

characters

More

Packages that depend on ml_text_cleaner