mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Fix formatting.
This commit is contained in:
parent
97ff496bad
commit
7a2f2f6f94
|
@ -148,14 +148,9 @@ for h in range(1, 31 + 1):
|
||||||
_exc["%d%s" % (h, period)] = [{ORTH: "%d." % h}]
|
_exc["%d%s" % (h, period)] = [{ORTH: "%d." % h}]
|
||||||
|
|
||||||
_custom_base_exc = {
|
_custom_base_exc = {
|
||||||
"i.": [{
|
"i.": [
|
||||||
ORTH: "i",
|
{ORTH: "i", LEMMA: "i", NORM: "i"},
|
||||||
LEMMA: "i",
|
{ORTH: ".", TAG: PUNCT}]
|
||||||
NORM: "i"
|
|
||||||
}, {
|
|
||||||
ORTH: ".",
|
|
||||||
TAG: PUNCT
|
|
||||||
}]
|
|
||||||
}
|
}
|
||||||
_exc.update(_custom_base_exc)
|
_exc.update(_custom_base_exc)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user