VanaKraus / CoCzeFLA

the script used for the morphological analysis of the Chroma corpus
MIT License
0 stars 0 forks source link

Regex invalid escape sequence warning #6

Open VanaKraus opened 6 months ago

VanaKraus commented 6 months ago
$ /home/ivankraus/Documents/programming/CoCzeFLA/.venv/bin/python /home/ivankraus/Documents/programming/CoCzeFLA/chroma_tagging.py
/home/ivankraus/Documents/programming/CoCzeFLA/chroma_tagging.py:138: SyntaxWarning: invalid escape sequence '\['
  result = re.sub("\[\=\? [ aábcčdďeéěfghiíjklmnňoópqrřsštťuúůvwxyýzžAÁBCČDĎEÉĚFGHIÍJKLMNŇOÓPQRŘSŠTŤUÚŮVWXYÝZŽ]+\]", "", result)
/home/ivankraus/Documents/programming/CoCzeFLA/chroma_tagging.py:141: SyntaxWarning: invalid escape sequence '\['
  result = re.sub("\[\=\! [ aábcčdďeéěfghiíjklmnňoópqrřsštťuúůvwxyýzžAÁBCČDĎEÉĚFGHIÍJKLMNŇOÓPQRŘSŠTŤUÚŮVWXYÝZŽ]+\]", "", result)
/home/ivankraus/Documents/programming/CoCzeFLA/chroma_tagging.py:154: SyntaxWarning: invalid escape sequence '\['
  result = re.sub("[aábcčdďeéěfghiíjklmnňoópqrřsštťuúůvwxyýzžAÁBCČDĎEÉĚFGHIÍJKLMNŇOÓPQRŘSŠTŤUÚŮVWXYÝZŽ]+ \[:", "", result)
./_local/corpus/