mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Removing extra spaces
This commit is contained in:
parent
13b6957c8e
commit
92f368f83b
|
@ -18,8 +18,6 @@ class FrenchDefaults(BaseDefaults):
|
||||||
suffixes = tuple(TOKENIZER_SUFFIXES)
|
suffixes = tuple(TOKENIZER_SUFFIXES)
|
||||||
token_match = TOKEN_MATCH
|
token_match = TOKEN_MATCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_tokenizer(cls, nlp=None):
|
def create_tokenizer(cls, nlp=None):
|
||||||
cls.tokenizer_exceptions = get_tokenizer_exceptions()
|
cls.tokenizer_exceptions = get_tokenizer_exceptions()
|
||||||
|
@ -34,6 +32,3 @@ class French(Language):
|
||||||
lang = 'fr'
|
lang = 'fr'
|
||||||
|
|
||||||
Defaults = FrenchDefaults
|
Defaults = FrenchDefaults
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user