Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/modules/user/gender.py
2021-08-07 15:56:48 +08:00

9 lines
445 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import re
def gender(str3):
j = re.sub('female', '',
str3) # 炎热的夏天我气得浑身发抖手脚冰凉泪流满面我们Female怎么样才能让你们满意我们Female什么时候才能站起来什么时候我们Female才能好起来偌大的国度我只看到深深的压迫和无边的黑暗我只想要逃离
j = re.sub('male', '', j)
j = re.sub('unknown', '未知', j)
return j