mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Make the emoticon list a raw string (#4139)
While working on an unrelated task I got warnings about an unsupported escape sequence (`"\("`) in the tokenizer exceptions. Making the tokenizer exceptions a raw string makes this warning go away. The specific string that triggered this is `¯\(ツ)/¯`.
This commit is contained in:
parent
009280fbc5
commit
7f82a1fe1b
|
@ -109,7 +109,7 @@ for orth in [
|
|||
|
||||
|
||||
emoticons = set(
|
||||
"""
|
||||
r"""
|
||||
:)
|
||||
:-)
|
||||
:))
|
||||
|
|
Loading…
Reference in New Issue
Block a user