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
|
```python
|
||||||
from wiqaya import Wiqaya
|
from wiqaya import Wiqaya
|
||||||
|
|
||||||
w = Wiqaya(lang="ar")
|
w = Wiqaya(lang="en")
|
||||||
|
|
||||||
w.is_profane("هذا نص عادي") # False
|
w.is_profane("damn") # True
|
||||||
w.is_profane("نص يحتوي شتيمة") # True
|
w.is_profane("Hello World") # False
|
||||||
|
w.get_profane_words("this is damn annoying") # ['damn']
|
||||||
|
|
||||||
w.get_profane_words("نص فيه كلمة سيئة") # ['كلمة سيئة']
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Supported Languages
|
## Supported Languages
|
||||||
|
|
|
||||||
|
|
@ -12993,4 +12993,3 @@ zubb
|
||||||
🔪
|
🔪
|
||||||
🔫
|
🔫
|
||||||
🖕
|
🖕
|
||||||
testf
|
|
||||||
Loading…
Add table
Reference in a new issue