mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 02:36:32 +03:00
Add global abbreviations data
This commit is contained in:
parent
de5aa92bc2
commit
7c3cb2a652
|
@ -1,3 +1,4 @@
|
|||
from .abbreviations import *
|
||||
from .emoticons import *
|
||||
from .punctuation import *
|
||||
from .tag_map import *
|
||||
|
|
43
spacy/language_data/abbreviations.py
Normal file
43
spacy/language_data/abbreviations.py
Normal file
|
@ -0,0 +1,43 @@
|
|||
# encoding: utf8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
ABBREVIATIONS = [
|
||||
"'",
|
||||
"\\\")",
|
||||
"<space>",
|
||||
"''",
|
||||
"C++",
|
||||
"a.",
|
||||
"b.",
|
||||
"c.",
|
||||
"d.",
|
||||
"e.",
|
||||
"f.",
|
||||
"g.",
|
||||
"h.",
|
||||
"i.",
|
||||
"j.",
|
||||
"k.",
|
||||
"l.",
|
||||
"m.",
|
||||
"n.",
|
||||
"o.",
|
||||
"p.",
|
||||
"q.",
|
||||
"r.",
|
||||
"s.",
|
||||
"t.",
|
||||
"u.",
|
||||
"v.",
|
||||
"w.",
|
||||
"x.",
|
||||
"y.",
|
||||
"z.",
|
||||
"ä.",
|
||||
"ö.",
|
||||
"ü."
|
||||
]
|
||||
|
||||
|
||||
__all__ = [ "ABBREVIATIONS" ]
|
Loading…
Reference in New Issue
Block a user