File size: 352 Bytes
dc3944c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # viet-robot-please-detector
A micro helper that detects whether a Vietnamese command contains common polite
words such as:
- "vui lòng"
- "làm ơn"
- "giúp"
- "được không"
- "nhé"
Function:
```python
contains_polite_word(text: str) -> bool
```
returns `True` if at least one of these phrases appears (case-insensitive).
## License
MIT
|