Git Product home page Git Product logo

sansorchi's Introduction

CodeFactor pre-commit pylint test

Sansorchi

Remove Persian (Farsi) Swear Words

Sansorchi is a program to remove bad and inappropriate words (currently for the Persian language)

یاداشت

برخی از کلمات در ظاهر کلمات بد به حساب نمیان ولی برای کاربردهای خاص ممکنه نیاز به فیلتر شدن داشته باشن که هر کس با توجه به نیاز باید شخصی سازی انجام بده و از این دیتاست استفاده کنه

در صورت علاقه، به تکمیل شدن این دیتاست کمک کنید

از این کتابخونه در فیلتر کردن متن ها در پروژه های خود استفاده کنید و متون پاک و سالمی را داشته باشید

منبع دیتا بیس اصلی اینجا است .

Installation

pip3 install Sansorchi

usage

  • remove badwords
from sansorchi import Sansorchi

sansorchi = Sansorchi()

sansorchi.remove_bad_words("YOUR_TEXT")
  • check badwords
sansorchi.is_bad_word("YOUR_TEXT")

if yourtext has badword return True else return False

Contributing

See this file to contribute

sansorchi's People

Contributors

dependabot[bot] avatar mdk84 avatar mmdbalkhi avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mdk84

sansorchi's Issues

[Bug]: حذف کلمه "نوب" از دیتاست

Contact Details

No response

Commit to Help

سلام و خسته نباشید خدمت سازنده محترم
بنده پیشنهاد می کنم کلمه "نوب" را از دیتاست حذف کنید. چون "نوب" فحش نیست و به افرادی گفته می شود که در بازی یا حرفه ای تازه کار هستند
با تشکر از شما

Code of Conduct

  • I agree to follow this project's Code of Conduct

Bug Test

What happened?
Test Issue Template and tagger

Which version are you using?
help me (auto Tagging 😂🙂)

Won't fix
Fix me

Bug

What happened?

Which version are you using?
Help me

Error

Feature

Want to introduce a new feature? great! What problem does this feature solve or what feature does it add?

🐛 bug

Want to introduce a new feature? great! What problem does this feature solve or what feature does it add?

Bug

Bug

What happened?

Which version are you using?

Bug

Good first issues

Question

?

Bog

Error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.