mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
10 lines
197 B
Python
10 lines
197 B
Python
from typing import Pattern
|
|
|
|
from .tokenizer_exceptions import URL_MATCH
|
|
from ..util import registry
|
|
|
|
|
|
@registry.language_data("spacy.xx.url_match")
|
|
def url_match() -> Pattern:
|
|
return URL_MATCH
|