f877c37fc6
tests / Test (macos-latest, 3.14) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.10) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.11) (push) Has been cancelled
tests / Test (windows-latest, 3.13) (push) Has been cancelled
tests / Test (windows-latest, 3.14) (push) Has been cancelled
tests / Validate (push) Has been cancelled
tests / Test (macos-latest, 3.10) (push) Has been cancelled
tests / Test (macos-latest, 3.11) (push) Has been cancelled
tests / Test (macos-latest, 3.12) (push) Has been cancelled
tests / Test (macos-latest, 3.13) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.12) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.13) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.14) (push) Has been cancelled
tests / Test (windows-latest, 3.10) (push) Has been cancelled
tests / Test (windows-latest, 3.11) (push) Has been cancelled
tests / Test (windows-latest, 3.12) (push) Has been cancelled
universe validation / Validate (push) Has been cancelled
16 lines
423 B
Python
16 lines
423 B
Python
from ..punctuation import (
|
|
TOKENIZER_INFIXES as BASE_TOKENIZER_INFIXES,
|
|
TOKENIZER_PREFIXES as BASE_TOKENIZER_PREFIXES,
|
|
TOKENIZER_SUFFIXES as BASE_TOKENIZER_SUFFIXES,
|
|
)
|
|
|
|
_prefixes = [r"\w{1,3}\$"] + BASE_TOKENIZER_PREFIXES
|
|
|
|
_suffixes = BASE_TOKENIZER_SUFFIXES
|
|
|
|
_infixes = [r"(\w+-\w+(-\w+)*)"] + BASE_TOKENIZER_INFIXES
|
|
|
|
TOKENIZER_PREFIXES = _prefixes
|
|
TOKENIZER_SUFFIXES = _suffixes
|
|
TOKENIZER_INFIXES = _infixes
|