Skip to content

removed some english false positives - #56

Merged
master-wayne7 merged 1 commit into
developfrom
feat/remove-en-false-positives
Sep 10, 2026
Merged

master-wayne7 merged 1 commit into
developfrom
feat/remove-en-false-positives

Conversation

@master-wayne7

@master-wayne7 master-wayne7 commented Sep 10, 2026 •

Copy link
Copy Markdown
Owner

Description

What does this PR do?
Removes some false postives from english dataset.

Related Issue

Closes #45

Summary by CodeRabbit

  • Bug Fixes
    • Refined English profanity detection by removing numerous common, non-offensive, anatomical, and medical terms from the flagged-word list.
    • Genuine profanity terms remain supported, reducing the likelihood that ordinary language is incorrectly flagged.

@master-wayne7 master-wayne7 self-assigned this Sep 10, 2026
@coderabbitai

coderabbitai Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f0db01a5-0da4-4204-9e4a-224bf45a6ef5

📥 Commits

Reviewing files that changed from the base of the PR and between 190a833 and 37de98d.

📒 Files selected for processing (1)
  • lib/data/en.dart

📝 Walkthrough

Walkthrough

The English profanity word list removes 331 entries from lib/data/en.dart. The removed entries are primarily common, anatomical, medical, and other non-profane words. No entries are added.

Changes

English word list

Layer / File(s) Summary
Prune non-profane entries
lib/data/en.dart
Removes 331 entries from the English word list. Existing profanity entries remain, and no replacements are added.

Estimated code review effort: 2 (Simple) | ~10 minutes

Severity of issue fixed: Medium

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/remove-en-false-positives

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@master-wayne7
master-wayne7 merged commit 6652204 into develop Sep 10, 2026
2 of 3 checks passed
@master-wayne7
master-wayne7 deleted the feat/remove-en-false-positives branch September 10, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Remove the word 'cool' from the en.txt file - line 2714

1 participant