You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug is similar to #737. Some space characters (such as the NO-BREAK SPACE U+00A0) are currently not detected as space by the load_vectors function, and the loading fails if the word vector files has such strings as token.
I fixed the bug by detecting the re.compile(r'\s') expression at the beginning of each line, instead of ' '.
I submitted a PR (#836).
Your Environment
Operating System: Ubuntu 16.04
Python Version Used: 3.0.5
spaCy Version Used: HEAD
The text was updated successfully, but these errors were encountered:
This bug is similar to #737. Some space characters (such as the NO-BREAK SPACE U+00A0) are currently not detected as space by the load_vectors function, and the loading fails if the word vector files has such strings as token.
I fixed the bug by detecting the
re.compile(r'\s')
expression at the beginning of each line, instead of ' '.I submitted a PR (#836).
Your Environment
The text was updated successfully, but these errors were encountered: