Skip to content

V1.0.2

Choose a tag to compare

@ayush-jadaun ayush-jadaun released this 26 Apr 05:30
· 25 commits to main since this release

AllProfanity v1.0.2 - Multi-Language Expansion

We're excited to announce the release of AllProfanity v1.0.2, which significantly expands our language support!

What's New

馃寪 New Language Support

This release adds comprehensive profanity detection for several new languages:

  • Bengali - Support for both Bengali script and Roman transliteration
  • Tamil - Native Tamil script and transliterated content
  • Telugu - Telugu script and Roman script variations
  • French - Comprehensive French profanity detection
  • German - Common German profanities and variations
  • Spanish - Spanish language profanity support

馃И Expanded Test Coverage

  • Added unit tests for all new languages
  • Added mixed-language content tests
  • Improved boundary detection tests
  • Enhanced test coverage for transliterated content

馃摑 Usage Examples

Each language can be loaded individually:

// Load specific languages as needed
profanity.loadLanguage('bengali');
profanity.loadLanguage('french');

// Or load multiple at once
profanity.loadLanguages(['tamil', 'telugu', 'german', 'spanish']);

// Helper for Indian languages
profanity.loadIndianLanguages(); // Loads Bengali, Tamil, Telugu (Hindi is loaded by default)

Notes

  • Hindi and English remain loaded by default
  • All new languages support both native script and transliteration where applicable
  • Performance optimizations implemented for multi-language detection

Documentation

Full documentation is available in the README. See examples for each language and integration tips.


As always, please report any issues or suggest improvements via GitHub issues. Contributions for additional languages are welcome!