mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix infixes in french
This commit is contained in:
parent
c09a8ce5bb
commit
3d4bd96e8a
|
@ -114,7 +114,10 @@ _
|
|||
'''.strip().split('\n')
|
||||
|
||||
|
||||
TOKENIZER_INFIXES = tuple()
|
||||
TOKENIZER_INFIXES = (r'''\.\.\.+ (?<=[a-z])\.(?=[A-Z]) (?<=[a-zA-Z])-(?=[a-zA-z]) '''
|
||||
r'''(?<=[a-zA-Z])--(?=[a-zA-z]) (?<=[0-9])-(?=[0-9]) '''
|
||||
r'''(?<=[A-Za-z]),(?=[A-Za-z])''').split()
|
||||
|
||||
|
||||
|
||||
TOKENIZER_EXCEPTIONS = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user