Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
flax-community
/
gpt2-persian
like
0
Follow
Flax Community
269
App
Files
Files
Community
main
gpt2-persian
/
regexes
/
punk.py
m3hrdadfi
Hello everyone
6851088
over 3 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
135 Bytes
import
re
PUNK_REGEX = re.
compile
(
r"([\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\=\?\@\[\\\]\^\_\`\{\|\}\~\«\»\⸮\؟\،\٬\٫\؛])"
)