mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
Add missing tags to el/es/pt tag maps (#4696)
* Add missing tags to pt tag map * Add missing tags to es tag map * Add missing tags to el tag map * Add missing symbol in el tag map
This commit is contained in:
parent
f0e3e606a6
commit
46250f60ac
|
@ -2,7 +2,7 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from ...symbols import POS, PUNCT, SYM, ADJ, CCONJ, SCONJ, NUM, DET, ADV, ADP, X, VERB
|
||||
from ...symbols import NOUN, PROPN, PART, INTJ, PRON
|
||||
from ...symbols import NOUN, PROPN, PART, INTJ, PRON, AUX
|
||||
|
||||
|
||||
TAG_MAP = {
|
||||
|
@ -4249,4 +4249,20 @@ TAG_MAP = {
|
|||
"Voice": "Act",
|
||||
"Case": "Nom|Gen|Dat|Acc|Voc",
|
||||
},
|
||||
'ADJ': {POS: ADJ},
|
||||
'ADP': {POS: ADP},
|
||||
'ADV': {POS: ADV},
|
||||
'AtDf': {POS: DET},
|
||||
'AUX': {POS: AUX},
|
||||
'CCONJ': {POS: CCONJ},
|
||||
'DET': {POS: DET},
|
||||
'NOUN': {POS: NOUN},
|
||||
'NUM': {POS: NUM},
|
||||
'PART': {POS: PART},
|
||||
'PRON': {POS: PRON},
|
||||
'PROPN': {POS: PROPN},
|
||||
'SCONJ': {POS: SCONJ},
|
||||
'SYM': {POS: SYM},
|
||||
'VERB': {POS: VERB},
|
||||
'X': {POS: X},
|
||||
}
|
||||
|
|
|
@ -305,6 +305,9 @@ TAG_MAP = {
|
|||
"VERB__VerbForm=Ger": {"morph": "VerbForm=Ger", POS: VERB},
|
||||
"VERB__VerbForm=Inf": {"morph": "VerbForm=Inf", POS: VERB},
|
||||
"X___": {"morph": "_", POS: X},
|
||||
"___PunctType=Quot": {POS: PUNCT},
|
||||
"___VerbForm=Inf": {POS: VERB},
|
||||
"___Number=Sing|Person=2|PronType=Prs": {POS: PRON},
|
||||
"_SP": {"morph": "_", POS: SPACE},
|
||||
}
|
||||
# fmt: on
|
||||
|
|
|
@ -5039,5 +5039,19 @@ TAG_MAP = {
|
|||
"punc": {POS: PUNCT},
|
||||
"v-pcp|M|P": {POS: VERB},
|
||||
"v-pcp|M|S": {POS: VERB},
|
||||
"ADJ": {POS: ADJ},
|
||||
"AUX": {POS: AUX},
|
||||
"CCONJ": {POS: CCONJ},
|
||||
"DET": {POS: DET},
|
||||
"INTJ": {POS: INTJ},
|
||||
"NUM": {POS: NUM},
|
||||
"PART": {POS: PART},
|
||||
"PRON": {POS: PRON},
|
||||
"PUNCT": {POS: PUNCT},
|
||||
"SCONJ": {POS: SCONJ},
|
||||
"SYM": {POS: SYM},
|
||||
"VERB": {POS: VERB},
|
||||
"X": {POS: X},
|
||||
"adv": {POS: ADV},
|
||||
"_SP": {POS: SPACE},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user