Comments (4)
from profanity.dev.
you're right, it tried it out too,i got the same outcome
from profanity.dev.
@iamkittykat @joschan21 , i think it is because the model splits the input into 3 characters then test the characters again known profane words and it ignores white spaces, for example "its h" would get split into something like this [ its, ith, ist, ish, iht, ihs, tis, tih, tsi, tsh, thi, ths, sit, sih, sti, sth, shi, sht, hit, his, hti, hts, hsi, hst ]
the it will test all the items in the array against permutations of known profane words in this case "shit" and when it sees most of the items in the array match those of "shit" it marks it as profane
from profanity.dev.
i would have fixed it but the dataset for the model are too large for me to download
from profanity.dev.
Related Issues (20)
- word "suck" is flagged as highest profanity HOT 2
- Feature Request: Add PDF File Input and API Support HOT 2
- The letter f is flagged for profanity higher than 0.850
- The letter "f" is flagged for profanity higher than 0.850 HOT 1
- Support for text symbol HOT 2
- Add a README.md file at root HOT 4
- feat: add portuguese language support HOT 1
- Python library HOT 1
- Creative slurs to consider HOT 2
- Add semicolons to end of line HOT 1
- Just some tests HOT 2
- [SUGGESTION] Allow configuration HOT 2
- Repeating Consecutive Words causes False Positives HOT 1
- here are some workarounds that should be worked on! HOT 2
- the formatted data getting undefined after running the for loop functiion
- "don't waste oxygen, just do it" is not detected HOT 1
- pick a license
- The API is down and responds back with an error. HOT 1
- Normalise score
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from profanity.dev.