mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +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
|