Releases: NikolaiBorisov/TextModeration
Releases · NikolaiBorisov/TextModeration
Release list
TextModeration 1.0.0
Stable public release of TextModeration, a native Swift Package for rule-based, on-device moderation of user-generated text.
Highlights
- Runs entirely on-device.
- No external APIs, servers, AI services, or third-party dependencies.
- Provides clear moderation decisions:
.allowed.flagged.blocked
- Includes a configurable default moderator.
- Includes 11 moderation rules:
TextLengthRuleExcessiveCapsRuleRepeatedCharactersRuleSpecialCharactersRuleLinkRuleMentionRuleSpamRulePersonalDataRuleRepetitionRuleEmojiRuleProfanityRule
- Includes README documentation, MIT license, changelog, screenshots, and Swift test CI.
Notes
ProfanityRule does not include a built-in profanity dataset. Developers provide their own prohibited terms according to their app, audience, languages, and community standards.
TextModeration is rule-based. It can detect configured patterns, but it cannot guarantee detection of every harmful, abusive, contextual, or intentionally disguised message.