Skip to content

Commit

Permalink
fixing remaining "ja nao" MWEs (closes #98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricio Rosario committed Dec 15, 2016
1 parent 3882574 commit 6dc908f
Show file tree
Hide file tree
Showing 23 changed files with 56 additions and 50 deletions.
4 changes: 2 additions & 2 deletions documents/CF808.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
# id 3396
1 Será ser VERB <mv>|V|FUT|3S|IND|@FS-QUE Mood=Ind|Number=Sing|Person=3|Tense=Fut|VerbForm=Fin 0 root _ _
2 que que SCONJ KS|@SUB _ 6 mark _ _
3 ADP PRP|@ADVL> _ 4 case _ MWE=já_não
4 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 6 nmod _ _
3 ADP _ _ 6 advmod _ MWE=já_não|MWEPOS=ADV
4 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 3 fixed _ _
5 nos nós PRON <refl>|PERS|M/F|1P|ACC|@ACC> Case=Acc|Gender=Unsp|Number=Plur|Person=1|PronType=Prs 6 obj _ _
6 basta bastar VERB <mv>|V|PR|3S|IND|@FS-<SC Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 1 ccomp _ _
7 a o DET <artd>|ART|F|S|@>N Definite=Def|Gender=Fem|Number=Sing|PronType=Art 9 det _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CF876.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# source CETENFolha n=876 cad=Caderno Especial sec=nd sem=94b
# sent_id CF876-2
# id 3692
1 ADP PRP|@ADVL> _ 2 case _ MWE=Já_não
2 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 4 nmod _ _
1 ADP _ _ 4 advmod _ MWE=já_não|MWEPOS=ADV
2 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 1 fixed _ _
3 é ser VERB <mv>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 4 cop _ _
4 correto correto ADJ ADJ|M|S|@<SC Gender=Masc|Number=Sing 0 root _ _
5 pensar pensar VERB <mv>|V|INF|@ICL-<SUBJ VerbForm=Inf 4 csubj _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CF911.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
# source CETENFolha n=911 cad=Esporte sec=des sem=94b
# sent_id CF911-6
# id 3839
1 ADP PRP|@ADVL> _ 2 case _ MWE=Já_não
2 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 3 nmod _ _
1 ADP _ _ 3 advmod _ MWE=já_não|MWEPOS=ADV
2 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 1 fixed _ _
3 haver VERB <mv>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 0 root _ _
4 o o DET <artd>|ART|M|S|@>N Definite=Def|Gender=Masc|Number=Sing|PronType=Art 5 det _ _
5 império império NOUN <np-def>|N|M|S|@<ACC Gender=Masc|Number=Sing 3 obj _ _
Expand Down
8 changes: 4 additions & 4 deletions documents/CP104.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@
21 que que SCONJ KS|@SUB _ 26 mark _ _
22 aqueles aquele DET <dem>|DET|M|P|@>N Gender=Masc|Number=Plur|PronType=Dem 23 det _ _
23 outros outro PRON <diff>|<np-def>|DET|M|P|@SUBJ> Gender=Masc|Number=Plur 26 nsubj _ _
24 ADP PRP|@ADVL> _ 25 case _ MWE=já_não
25 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 26 nmod _ _
24 ADP _ _ 26 advmod _ MWE=já_não|MWEPOS=ADV
25 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 24 fixed _ _
26 têm ter VERB <first-cjt>|<mv>|V|PR|3P|IND|@FS-<ACC Mood=Ind|Number=Plur|Person=3|Tense=Pres|VerbForm=Fin 20 ccomp _ _
27 interesse interesse NOUN <np-idf>|N|M|S|@<ACC Gender=Masc|Number=Sing 26 obj _ _
28 ou ou CCONJ <co-acc>|<co-fmc>|<co-vfin>|KC|@CO _ 26 cc _ _
29 ADP PRP|@ADVL> _ 30 case _ MWE=já_não
30 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 31 nmod _ _
29 ADP _ _ 31 advmod _ MWE=já_não|MWEPOS=ADV
30 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 29 fixed _ _
31 valem valer VERB <cjt>|<mv>|V|PR|3P|IND|@FS-<ACC Mood=Ind|Number=Plur|Person=3|Tense=Pres|VerbForm=Fin 26 conj _ _
32 nada nada PRON <quant>|INDP|M|S|@<ACC Gender=Masc|Number=Sing|PronType=Ind 31 obj _ _
33 . . PUNCT PU|@PU _ 20 punct _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP151.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
6 « « PUNCT PU|@PU _ 7 punct _ _
7 floor floor NOUN <np-idf>|N|M|S|@P< Gender=Masc|Number=Sing 3 nmod _ _
8 » » PUNCT PU|@PU _ 7 punct _ _
9 ADP PRP|@ADVL> _ 10 case _ MWE=já_não
10 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 11 nmod _ _
9 ADP _ _ 11 advmod _ MWE=já_não|MWEPOS=ADV
10 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 9 fixed _ _
11 justificava justificar VERB <mv>|V|IMPF|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Imp|VerbForm=Fin 0 root _ _
12 a o DET <artd>|ART|F|S|@>N Definite=Def|Gender=Fem|Number=Sing|PronType=Art 14 det _ _
13 sua seu DET <poss>|<si>|DET|F|S|@>N Gender=Fem|Number=Sing 14 det _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP225.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
14 os o DET <-sam>|<artd>|ART|M|P|@>N Definite=Def|Gender=Masc|Number=Plur|PronType=Art 15 det _ _
15 dextrímanos dextrímano NOUN <np-def>|N|M|P|@P< Gender=Masc|Number=Plur 10 nmod _ _
16 ) ) PUNCT PU|@PU _ 15 punct _ _
17 ADP PRP|@ADVL> _ 18 case _ MWE=já_não
18 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 20 nmod _ _
17 ADP _ _ 20 advmod _ MWE=já_não|MWEPOS=ADV
18 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 17 fixed _ _
19 é ser AUX <aux>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 20 aux:pass _ _
20 considerado considerar VERB <pass>|<mv>|V|PCP|M|S|@ICL-AUX< Gender=Masc|Number=Sing|VerbForm=Part|Voice=Pass 0 root _ _
21 como como ADP <prp>|<rel>|<first-cjt>|PRP|@<SC PronType=Rel 23 case _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP250.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
1 Pinto Pinto PROPN PROP|M|S|@SUBJ> Gender=Masc|Number=Sing 7 nsubj _ MWE=Pinto_de_Sousa
2 de de ADP PRP|@N< _ 3 case _ _
3 Sousa Sousa PROPN PROP|@P< Number=Sing 1 nmod _ _
4 ADP PRP|@ADVL> _ 5 case _ MWE=já_não
5 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 7 nmod _ _
4 ADP _ _ 7 advmod _ MWE=já_não|MWEPOS=ADV
5 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 4 fixed _ _
6 é ser VERB <mv>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 7 cop _ _
7 candidato candidato NOUN <np-idf>|N|M|S|@<SC Gender=Masc|Number=Sing 0 root _ _
8 a a ADP <sam->|PRP|@N< _ 10 case _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP40.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
6 que que SCONJ KS|@SUB _ 11 mark _ _
7 o o DET <artd>|ART|M|S|@>N Definite=Def|Gender=Masc|Number=Sing|PronType=Art 8 det _ _
8 isolamento isolamento NOUN <np-def>|N|M|S|@SUBJ> Gender=Masc|Number=Sing 11 nsubj _ _
9 ADP PRP|@ADVL> _ 10 case _ MWE=já_não
10 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 11 nmod _ _
9 ADP _ _ 11 advmod _ MWE=já_não|MWEPOS=ADV
10 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 9 fixed _ _
11 dar VERB <first-cjt>|<mv>|V|PR|3S|IND|@FS-<ACC Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 5 ccomp _ _
12 lucro lucro NOUN <np-idf>|N|M|S|@<ACC Gender=Masc|Number=Sing 11 obj _ _
13 e e CCONJ <co-acc>|<co-fmc>|<co-vfin>|KC|@CO _ 11 cc _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP408.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@
11 de de ADP PRP|@A< _ 12 case _ _
12 validade validade NOUN <np-idf>|N|F|S|@P< Gender=Fem|Number=Sing 10 nmod _ _
13 que que SCONJ KS|@SUB _ 16 mark _ _
14 ADP PRP|@ADVL> _ 15 case _ MWE=já_não
15 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 16 nmod _ _
14 ADP _ _ 16 advmod _ MWE=já_não|MWEPOS=ADV
15 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 14 fixed _ _
16 têm ter VERB <mv>|V|PR|3P|IND|@FS-N< Mood=Ind|Number=Plur|Person=3|Tense=Pres|VerbForm=Fin 9 advcl _ _
17 acção acção NOUN <np-idf>|N|F|S|@<ACC Gender=Fem|Number=Sing 16 obj _ _
18 farmacológica farmacológico ADJ ADJ|F|S|@N< Gender=Fem|Number=Sing 17 amod _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP465.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
39 , , PUNCT PU|@PU _ 36 punct _ _
40 mas mas CCONJ <co-n<pred>|<co-pred>|KC|@CO _ 36 cc _ _
41 onde onde ADV <rel>|ADV|@ADVL> _ 44 advmod _ _
42 ADP PRP|@ADVL> _ 43 case _ MWE=já_não
43 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 44 nmod _ _
42 ADP _ _ 44 advmod _ MWE=já_não|MWEPOS=ADV
43 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 42 fixed _ _
44 haver VERB <cjt>|<mv>|V|PR|3S|IND|@N<PRED Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 36 conj _ _
45 aldeias aldeia NOUN <np-idf>|N|F|P|@<ACC Gender=Fem|Number=Plur 44 obj _ _
46 isoladas isolar VERB <mv>|V|PCP|F|P|@ICL-N< Gender=Fem|Number=Plur|VerbForm=Part 45 acl _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP53.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
2 cimeira cimeira NOUN <np-def>|N|F|S|@SUBJ> Gender=Fem|Number=Sing 8 nsubj _ _
3 sindical sindical ADJ ADJ|F|S|@N< Gender=Fem|Number=Sing 2 amod _ _
4 ibérica ibérico ADJ ADJ|F|S|@N< Gender=Fem|Number=Sing 2 amod _ _
5 ADP PRP|@ADVL> _ 6 case _ MWE=já_não
6 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 8 nmod _ _
5 ADP _ _ 8 advmod _ MWE=já_não|MWEPOS=ADV
6 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 5 fixed _ _
7 deverá dever AUX <aux>|V|FUT|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Fut|VerbForm=Fin 8 aux _ _
8 realizar- realizar VERB <mv>|V|INF|@ICL-AUX< VerbForm=Inf 0 root _ _
9 se se PRON PERS|F|3P|ACC|@<ACC-PASS Case=Acc|Gender=Fem|Number=Plur|Person=3|PronType=Prs 8 obj _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP559.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@
# source CETEMPúblico n=559 sec=clt sem=96a
# sent_id CP559-6
# id 2905
1 ADP PRP|@ADVL> _ 2 case _ MWE=Já_não
2 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 3 nmod _ _
1 ADP _ _ 3 advmod _ MWE=já_não|MWEPOS=ADV
2 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 1 fixed _ _
3 sei saber VERB <mv>|<first-cjt>|V|PS|1S|IND|@FS-STA Mood=Ind|Number=Sing|Person=1|Tense=Past|VerbForm=Fin 0 root _ _
4 onde onde ADV <interr>|ADV|@SA> _ 3 advmod _ _
5 estou estar VERB <mv>|V|PR|1S|IND|@FS-<ACC Mood=Ind|Number=Sing|Person=1|Tense=Pres|VerbForm=Fin 4 cop _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP561.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@
4 os o DET <artd>|ART|M|P|@>N Definite=Def|Gender=Masc|Number=Plur|PronType=Art 5 det _ _
5 investigadores investigador NOUN <np-def>|N|M|P|@<SUBJ Gender=Masc|Number=Plur 3 nsubj _ _
6 , , PUNCT PU|@PU _ 9 punct _ _
7 ADP PRP|@ADVL> _ 8 case _ MWE=já_não
8 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 9 nmod _ _
7 ADP _ _ 9 advmod _ MWE=já_não|MWEPOS=ADV
8 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 7 fixed _ _
9 restam restar VERB <mv>|V|PR|3P|IND|@FS-<ACC Mood=Ind|Number=Plur|Person=3|Tense=Pres|VerbForm=Fin 3 ccomp _ _
10 dúvidas dúvida NOUN <np-idf>|N|F|P|@<SUBJ Gender=Fem|Number=Plur 9 nsubj _ _
11 . . PUNCT PU|@PU _ 3 punct _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP589.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
1 « « PUNCT PU|@PU _ 6 punct _ _
2 Por por ADP PRP|@ADVL> _ 3 case _ MWE=Por_fim
3 fim fim NOUN N|M|S|@P< Gender=Masc|Number=Sing 6 nmod _ _
4 ADP PRP|@ADVL> _ 5 case _ MWE=já_não
5 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 6 nmod _ _
4 ADP _ _ 6 advmod _ MWE=já_não|MWEPOS=ADV
5 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 4 fixed _ _
6 conseguia conseguir VERB <mv>|V|IMPF|1S|IND|@FS-STA Mood=Ind|Number=Sing|Person=1|Tense=Imp|VerbForm=Fin 0 root _ _
7 remar remar VERB <mv>|V|INF|@ICL-<ACC VerbForm=Inf 6 xcomp _ _
8 mais mais ADV <quant>|<KOMP>|<COMP>|ADV|@<ADVL _ 7 advmod _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP618.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
5 mesmas mesmo DET <diff>|<KOMP>|DET|F|P|@>N Gender=Fem|Number=Plur 6 det _ _
6 pessoas pessoa NOUN <np-def>|N|F|P|@SUBJ> Gender=Fem|Number=Plur 7 nsubj _ _
7 ameaçaram ameaçar VERB <mv>|V|PS|3P|IND|@FS-<ACC Mood=Ind|Number=Plur|Person=3|Tense=Past|VerbForm=Fin 1 ccomp _ _
8 ADP PRP|@ADVL> _ 9 case _ MWE=já_não
9 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 10 nmod _ _
8 ADP _ _ 10 advmod _ MWE=já_não|MWEPOS=ADV
9 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 8 fixed _ _
10 votar votar VERB <mv>|V|INF|@ICL-<ACC VerbForm=Inf 7 xcomp _ _
11 em em ADP <sam->|PRP|@<PIV _ 14 case _ _
12 as o DET <-sam>|<artd>|ART|F|P|@>N Definite=Def|Gender=Fem|Number=Plur|PronType=Art 14 det _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP71.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
29 de de ADP <sam->|PRP|@ADVL> _ 31 case _ _
30 essa esse DET <-sam>|<dem>|DET|F|S|@>N Gender=Fem|Number=Sing|PronType=Dem 31 det _ _
31 pessoa pessoa NOUN <np-def>|N|F|S|@P< Gender=Fem|Number=Sing 34 nmod _ _
32 ADP PRP|@ADVL> _ 33 case _ MWE=já_não
33 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 34 nmod _ _
32 ADP _ _ 34 advmod _ MWE=já_não|MWEPOS=ADV
33 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 32 fixed _ _
34 conseguimos conseguir VERB <mv>|V|PR|1P|IND|@FS-ADVL> Mood=Ind|Number=Plur|Person=1|Tense=Pres|VerbForm=Fin 43 advcl _ _
35 ver ver VERB <mv>|V|INF|@ICL-<ACC VerbForm=Inf 34 xcomp _ _
36 nem nem CCONJ <co-vfin>|KC|@CO _ 38 cc _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP842.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
# source CETEMPúblico n=842 sec=nd sem=95b
# sent_id CP842-5
# id 4335
1 ADP PRP|@ADVL> _ 2 case _ MWE=Já_não
2 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 3 nmod _ _
1 ADP _ _ 3 advmod _ MWE=já_não|MWEPOS=ADV
2 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 1 fixed _ _
3 víamos ver VERB <mv>|V|IMPF|1P|IND|@FS-STA Mood=Ind|Number=Plur|Person=1|Tense=Imp|VerbForm=Fin 0 root _ _
4 o o DET <artd>|ART|M|S|@>N Definite=Def|Gender=Masc|Number=Sing|PronType=Art 5 det _ _
5 padeiro padeiro NOUN <np-def>|N|M|S|@<ACC Gender=Masc|Number=Sing 3 obj _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP844.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
20 concentrações concentração NOUN <np-def>|N|F|P|@P< Gender=Fem|Number=Plur 25 nmod _ _
21 urbanas urbano ADJ ADJ|F|P|@N< Gender=Fem|Number=Plur 20 amod _ _
22 isto isto PRON <dem>|INDP|M|S|@SUBJ> Gender=Masc|Number=Sing|PronType=Dem 25 nsubj _ _
23 ADP PRP|@ADVL> _ 24 case _ MWE=já_não
24 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 25 nmod _ _
23 ADP _ _ 25 advmod _ MWE=já_não|MWEPOS=ADV
24 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 23 fixed _ _
25 acontece acontecer VERB <mv>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 0 root _ _
26 . . PUNCT PU|@PU _ 25 punct _ _

Expand Down
4 changes: 2 additions & 2 deletions documents/CP86.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
7 Açúcar Açúcar PROPN PROP|@P< Number=Sing 5 nmod _ _
8 de de ADP PRP|@N< _ 9 case _ _
9 Cascais Cascais PROPN PROP|M/F|S|@P< Gender=Unsp|Number=Sing 5 nmod _ _
10 ADP PRP|@ADVL> _ 11 case _ MWE=já_não
11 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 12 nmod _ _
10 ADP _ _ 12 advmod _ MWE=já_não|MWEPOS=ADV
11 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 10 fixed _ _
12 aguenta aguentar VERB <mv>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 0 root _ _
13 ouvir ouvir VERB <mv>|V|INF|@ICL-<ACC VerbForm=Inf 12 xcomp _ _
14 as o DET <artd>|ART|F|P|@>N Definite=Def|Gender=Fem|Number=Plur|PronType=Art 15 det _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP883.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@
34 que que SCONJ KS|@SUB _ 40 mark _ _
35 o o DET <artd>|ART|M|S|@>N Definite=Def|Gender=Masc|Number=Sing|PronType=Art 36 det _ _
36 recinto recinto NOUN <np-def>|N|M|S|@SUBJ> Gender=Masc|Number=Sing 40 nsubj _ _
37 ADP PRP|@ADVL> _ 38 case _ MWE=já_não
38 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 40 nmod _ _
37 ADP _ _ 40 advmod _ MWE=já_não|MWEPOS=ADV
38 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 37 fixed _ _
39 se se PRON PERS|M|3S|ACC|@ACC>-PASS Case=Acc|Gender=Masc|Number=Sing|Person=3|PronType=Prs 40 obj _ _
40 encontrava encontrar VERB <mv>|<se-passive>|V|IMPF|3S|IND|@FS-<ACC Mood=Ind|Number=Sing|Person=3|Tense=Imp|VerbForm=Fin 33 ccomp _ _
41 interdito interdito NOUN <np-idf>|N|M|S|@<OC Gender=Masc|Number=Sing 40 xcomp _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP890.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
50 , , PUNCT PU|@PU _ 40 punct _ _
51 quando quando ADV <rel>|ADV|@ADVL> _ 56 advmod _ _
52 Ieltsin Ieltsin PROPN PROP|M|S|@SUBJ> Gender=Masc|Number=Sing 56 nsubj _ _
53 ADP PRP|@ADVL> _ 54 case _ MWE=já_não
54 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 56 nmod _ _
53 ADP _ _ 56 advmod _ MWE=já_não|MWEPOS=ADV
54 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 53 fixed _ _
55 puder poder AUX <aux>|V|FUT|3S|SUBJ|@FS-N<PRED Mood=Sub|Number=Sing|Person=3|Tense=Fut|VerbForm=Fin 56 aux _ _
56 impor impor VERB <mv>|V|INF|@ICL-AUX< VerbForm=Inf 40 acl:relcl _ _
57 a o DET <artd>|ART|F|S|@>N Definite=Def|Gender=Fem|Number=Sing|PronType=Art 59 det _ _
Expand Down
4 changes: 2 additions & 2 deletions documents/CP911.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@
6 Itália Itália PROPN PROP|F|S|@P< Gender=Fem|Number=Sing 2 nmod _ _
7 esta este DET <dem>|DET|F|S|@>N Gender=Fem|Number=Sing|PronType=Dem 8 det _ _
8 publicidade publicidade NOUN <np-def>|N|F|S|@SUBJ> Gender=Fem|Number=Sing 12 nsubj _ _
9 ADP PRP|@ADVL> _ 10 case _ MWE=já_não
10 não não NOUN N|M|S|@P< Gender=Masc|Number=Sing 12 nmod _ _
9 ADP _ _ 12 advmod _ MWE=já_não|MWEPOS=ADV
10 não não ADV _ Gender=Masc|Number=Sing|Polarity=Neg 9 fixed _ _
11 é ser VERB <first-cjt>|<mv>|V|PR|3S|IND|@FS-STA Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 12 cop _ _
12 possível possível ADJ ADJ|F|S|@<SC Gender=Fem|Number=Sing 0 root _ _
13 , , PUNCT PU|@PU _ 12 punct _ _
Expand Down
14 changes: 10 additions & 4 deletions scripts/fix-issue-98.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ ID3. DEP-T2-T1 is the new dependency relation between T2 and T1."
(setf (slot-value t2 'deprel) dep-t2-t1)
(setf (slot-value t2 'head) (slot-value t1 'id)))

(defun append-feature (key value token)
(let ((features (if (string= "_" (slot-value token 'feats)) nil
(split-sequence #\| (slot-value token 'feats)))))
(format nil "~{~a~^|~}" (sort (append features `(,(format nil "~a=~a" key value))) #'string<))))

(defun fix-ja-nao (tokens)
(when tokens
(let* ((t1 (first tokens))
Expand All @@ -29,13 +34,14 @@ ID3. DEP-T2-T1 is the new dependency relation between T2 and T1."
(string-equal (slot-value t2 'lemma) "não")
(string-equal (slot-value t1 'misc) "MWE=já_não"))

(reverse-dependency t1 t2 "cc" "fixed")
(reverse-dependency t1 t2 "advmod" "fixed")

(setf (slot-value t1 'upostag) "CCONJ")
(setf (slot-value t1 'upostag) "ADP")
(setf (slot-value t1 'xpostag) "_")
(setf (slot-value t2 'upostag) "VERB")
(setf (slot-value t2 'upostag) "ADV")
(setf (slot-value t2 'xpostag) "_")
(setf (slot-value t2 'lemma) "ser")

(setf (slot-value t2 'feats) (append-feature "Polarity" "Neg" t2))

(setf (slot-value t1 'misc) (format nil "MWE=já_não|MWEPOS=ADV"))))))

Expand Down

0 comments on commit 6dc908f

Please sign in to comment.