Skip to content

Commit

Permalink
#858 - Out-of-tagset tags should map to the generic type
Browse files Browse the repository at this point in the history
- Make catch-all mapping consistent over all mappings
  • Loading branch information
reckart committed Jan 12, 2019
1 parent e640e3b commit bd35e90
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ SYM=POS_SYM
RDP=POS_X
# UNK Unknown
UNK=POS_X
*=POS_X
*=POS

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ __META_SOURCE_URL__=http://www.ims.uni-stuttgart.de/forschung/ressourcen/lexika/
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

# Catch-all rule
*=POS_X
*=POS
#
# $*LRB*
# -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ VINF=POS_VERB
SYM=POS_PUNCT
SENT=POS_PUNCT

*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ __META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

$=POS_NUM
&=POS_CONJ
*=POS_X
*=POS
,=POS_PUNCT
@=tweet.POS_AT
A=POS_ADJ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ __META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.
# right paren
)=POS_X
# not, n't
#*=POS_X
#*=POS
# dash
-=POS_X
# comma
Expand Down Expand Up @@ -185,4 +185,4 @@ NEG=POS_ADV
NNSG=POS_NOUN
NR$=POS_NOUN

*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ NRg=POS_NOUN
RBT=POS_ADV
UH=POS_PART
WQL=POS_ADV
*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ __META_SOURCE_URL__=http://www.natcorp.ox.ac.uk/docs/gramtag.html
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

# Default mapping
*=POS_X
*=POS

# AJ0 Adjective (general or positive) (e.g. good, old, beautiful)
AJ0=POS_ADJ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
# punctuation mark, comma
,=POS_PUNCT
-=POS_PUNCT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ VVGN=POS_VERB
# ” right quote
''=POS_PUNCT

*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
# punctuation mark, comma
,=POS_PUNCT
-=POS_PUNCT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__META_SOURCE_URL__=http://faculty.washington.edu/dillon/GramResources/penntable.html
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
,=POS_PUNCT
-=POS_PUNCT
.=POS_PUNCT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__META_SOURCE_URL__=http://clic.ub.edu/corpus/webfm_send/18
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
#Adjective
a=POS_ADJ
#Conjuction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,4 +584,4 @@ Z.Osq=POS_PUNCT
Z.Csq=POS_PUNCT
Z.Sla=POS_PUNCT
T=POS_X
*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ V_COP=POS_VERB
V_PRS=POS_VERB
# V_SUB - Subjunctive verb
V_SUB=POS_VERB
*=POS_X
*=POS

Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ STPOS=POS_X
STR=POS_X
# V - Verb
V=POS_VERB
*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ PUNC=POS_PUNCT
\:=POS_PUNCT
# V
V=POS_VERB
*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__META_SOURCE_URL__=http://www.ims.uni-stuttgart.de/~schmid/french-tagset.html
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
# ABR abreviation
ABR=POS_X
# ADJ adjective
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__META_SOURCE_URL__=ftp://ftp.ims.uni-stuttgart.de/pub/corpora/italian-tagset.txt
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
# ABR abbreviation
ABR=POS_X
# ADJ adjective
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__META_SOURCE_URL__=Source: http://medialab.di.unipi.it/wiki/Tanl_POS_Tagset
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

*=POS_X
*=POS
APn=POS_ADJ
APp=POS_ADJ
APs=POS_ADJ
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.
*=POS_X
*=POS
A-NUM=POS_ADJ
A-PRO=POS_PRON
A=POS_ADJ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ MID=POS_PUNCT
PAD=POS_PUNCT

# Catch-all rule
*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ VV=POS_VERB
# X
X=POS_X

*=POS_X
*=POS
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ __META_SOURCE_URL__=http://www.lancs.ac.uk/fass/projects/corpus/LCMC/lcmc/lcmc_t
__META_TYPE_BASE__=de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.

# Catch-all rule
*=POS_X
*=POS

# a adjective
a=POS_ADJ
Expand Down

0 comments on commit bd35e90

Please sign in to comment.