update db
This commit is contained in:
parent
2b7572db6c
commit
eb9d3909de
2 changed files with 5 additions and 6 deletions
|
|
@ -13,12 +13,12 @@ pip install wiqaya
|
|||
```python
|
||||
from wiqaya import Wiqaya
|
||||
|
||||
w = Wiqaya(lang="ar")
|
||||
w = Wiqaya(lang="en")
|
||||
|
||||
w.is_profane("هذا نص عادي") # False
|
||||
w.is_profane("نص يحتوي شتيمة") # True
|
||||
w.is_profane("damn") # True
|
||||
w.is_profane("Hello World") # False
|
||||
w.get_profane_words("this is damn annoying") # ['damn']
|
||||
|
||||
w.get_profane_words("نص فيه كلمة سيئة") # ['كلمة سيئة']
|
||||
```
|
||||
|
||||
## Supported Languages
|
||||
|
|
|
|||
|
|
@ -12992,5 +12992,4 @@ zubb
|
|||
💩
|
||||
🔪
|
||||
🔫
|
||||
🖕
|
||||
testf
|
||||
🖕
|
||||
Loading…
Add table
Reference in a new issue