UniversalDependencies / UD_Portuguese-Bosque

This Universal Dependencies (UD) Portuguese treebank.
Other
50 stars 12 forks source link

ADP+DET contraction #293

Closed kanayamah closed 3 years ago

kanayamah commented 4 years ago

In most of ADP+DET contraction (15,288 out of 15,500 cases), both of two words have the same head word, and there are 193 exceptional cases related to fixed.

Rest of them look suspicions. @arademaker Could you see whether they are valid?

ADP is the child of DET (11 cases)

# sent_id = CP60-2
21-22   da      _       _       _       _       _       _       _       _
21      de      de      ADP     _       _       22      case    _       _
22      a       o       DET     _       Definite=Def|PronType=Art       24      det     _       _

# sent_id = CP135-5
33-34   das     _       _       _       _       _       _       _       _
33      de      de      ADP     _       _       34      case    _       _
34      as      o       DET     _       Definite=Def|PronType=Art       32      det     _       _

# sent_id = CP168-2
7-8     na      _       _       _       _       _       _       _       _
7       em      em      ADP     _       _       8       case    _       _
8       a       a       DET     _       Definite=Def|Gender=Fem|Number=Sing|PronType=Art        5       nmod    _
        _

# sent_id = CP262-2
13-14   do      _       _       _       _       _       _       _       _
13      de      de      ADP     _       _       14      case    _       _
14      o       o       DET     _       Definite=Def|Gender=Masc|Number=Sing|PronType=Art       19      det     _
        _

# sent_id = CP454-3
13-14   neste   _       _       _       _       _       _       _       _
13      em      em      ADP     _       _       14      case    _       _
14      este    este    DET     _       Gender=Masc|Number=Sing|PronType=Dem    18      det     _       _

# sent_id = CP454-3
16-17   naquele _       _       _       _       _       _       _       _
16      em      em      ADP     _       _       17      case    _       _
17      aquele  aquele  DET     _       Gender=Masc|Number=Sing|PronType=Dem    14      conj    _       _

# sent_id = CP646-2
21-22   à       _       _       _       _       _       _       _       _
21      a       a       ADP     _       _       22      case    _       _
22      a       o       DET     _       Definite=Def|Gender=Fem|Number=Sing|PronType=Art        31      det     _
        _

# sent_id = CP665-6
22-23   do      _       _       _       _       _       _       _       _
22      de      de      ADP     _       _       23      case    _       _
23      o       o       DET     _       Definite=Def|Gender=Masc|Number=Sing|PronType=Art       20      det     _
        _

# sent_id = CF337-5
2-3     da      _       _       _       _       _       _       _       _
2       de      de      ADP     _       _       3       case    _       _
3       a       o       DET     _       Definite=Def|Gender=Fem|Number=Sing|PronType=Art        5       det     _
        _

# sent_id = CF400-4
33-34   pelo    _       _       _       _       _       _       _       _
33      por     por     ADP     _       _       34      case    _       _
34      o       o       DET     _       Gender=Masc|Number=Sing|PronType=Art    35      det     _       MWE=o_qual

# sent_id = CF994-3
11-12   do      _       _       _       _       _       _       _       _
11      de      de      ADP     _       _       12      case    _       _
12      o       o       DET     _       Definite=Def|Gender=Masc|Number=Sing|PronType=Art       13      det     _
        _

ADP and DET have different heads (8 cases)

# sent_id = CP218-4
46-47   da      _       _       _       _       _       _       _       _
46      de      de      ADP     _       _       44      nmod    _       _
47      a       o       DET     _       Definite=Def|PronType=Art       48      det     _       _

# sent_id = CP227-1
15-16   da      _       _       _       _       _       _       _       _
15      de      de      ADP     _       _       20      case    _       _
16      a       o       DET     _       Definite=Def|PronType=Art       3       parataxis       _       _

# sent_id = CP372-2
17-18   ao      _       _       _       _       _       _       _       _
17      a       a       ADP     _       _       19      case    _       _
18      o       o       DET     _       Definite=Def|Gender=Masc|Number=Sing|PronType=Art       29      det     _
        _

# sent_id = CP693-8
13-14   destas  _       _       _       _       _       _       _       _
13      de      de      ADP     _       _       17      case    _       _
14      estas   este    DET     _       Gender=Fem|Number=Plur|PronType=Dem     15      det     _       _

# sent_id = CP830-5
9-10    aos     _       _       _       _       _       _       _       _
9       a       a       ADP     _       _       12      case    _       _
10      os      o       DET     _       Definite=Def|Gender=Masc|Number=Plur|PronType=Art       11      det     _
        _

# sent_id = CF38-2
6-7     da      _       _       _       _       _       _       _       _
6       de      de      ADP     _       _       5       case    _       _
7       a       o       DET     _       Definite=Def|Gender=Fem|Number=Sing|PronType=Art        8       det     _
        _

# sent_id = CF844-1
70-71   do      _       _       _       _       _       _       _       _
70      de      de      ADP     _       _       72      case    _       _
71      o       o       DET     _       Definite=Def|Gender=Masc|Number=Sing|PronType=Art       81      det     _
        _

# sent_id = CP993-3
1-2     No      _       _       _       _       _       _       _       _
1       Em      em      ADP     _       _       5       mark    _       _
2       o       o       DET     _       Definite=Def|Gender=Masc|Number=Sing|PronType=Art       3       det     _
arademaker commented 4 years ago

Thank you @kanayamah to report. I am looking into it. I fixed CP60-2, CP135-5, and CP168-2 in 474ef617a8d60eed04df03e6eba0a444dff367a5.

arademaker commented 4 years ago

In CF337-5, Através de ..., eles promovem .... We have the adverb através used as preposition. One can take através as ADV modified by ...empresa... (obl) or através as ADP modifying empresa that is the obl of promovem.

arademaker commented 3 years ago

solved in 5b7bab79a