mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
added hyhen
This commit is contained in:
parent
68454c40bf
commit
73f6ac9d9b
|
@ -27,7 +27,7 @@ LIST_CURRENCY = split_chars(_currency)
|
|||
|
||||
_prefixes = TOKENIZER_PREFIXES + LIST_CURRENCY + [HTML_PREFIX] + ['[Kk]e-', '/', '—']
|
||||
|
||||
_suffixes = TOKENIZER_SUFFIXES + [r'\-[Nn]ya', '—'] + [
|
||||
_suffixes = TOKENIZER_SUFFIXES + [r'\-[Nn]ya', '—', '-'] + [
|
||||
r'(?<=[0-9])(?:{c})'.format(c=CURRENCY),
|
||||
r'(?<=[0-9])(?:{u})'.format(u=UNITS),
|
||||
r'(?<=[0-9])%',
|
||||
|
|
Loading…
Reference in New Issue
Block a user