Skip to content

Commit a88bc56

Browse files
committed
Move the conllu reader example file to data (easier to edit / find for viewing)
1 parent 3219884 commit a88bc56

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# sent_id = dev-s48
2+
# text = Pero la existencia de dos recién nacidos en la misma caja sólo podía deberse a un descuido de fábrica.
3+
# orig_file_sentence 001#48
4+
1 Pero pero CCONJ CCONJ _ 14 advmod _ _
5+
2 la la DET DET Definite=Def|Gender=Fem|Number=Sing|PronType=Art 3 det _ _
6+
3 existencia existencia NOUN NOUN Gender=Fem|Number=Sing 14 nsubj _ _
7+
4 de de ADP ADP AdpType=Prep 5 case _ _
8+
5 dos dos NUM NUM Number=Plur|NumType=Card 3 nummod _ _
9+
6 recién recién ADV ADV _ 7 advmod _ _
10+
7 nacidos nacidos ADJ ADJ Gender=Masc|Number=Plur|VerbForm=Part 5 amod _ _
11+
8 en en ADP ADP AdpType=Prep 11 case _ _
12+
9 la la DET DET Definite=Def|Gender=Fem|Number=Sing|PronType=Art 11 det _ _
13+
10 misma misma DET DET Gender=Fem|Number=Sing|PronType=Ind 9 det _ _
14+
11 caja caja NOUN NOUN Gender=Fem|Number=Sing 3 nmod _ _
15+
12 sólo sólo ADV ADV _ 14 advmod _ _
16+
13 podía podía AUX AUX Mood=Ind|Number=Sing|Person=3|Tense=Imp|VerbForm=Fin 14 aux _ _
17+
14-15 deberse _ _ _ _ _ _ _ _
18+
14 deber deber VERB VERB VerbForm=Inf 0 root _ _
19+
15 se se PRON PRON Person=3 14 obj _ _
20+
16 a a ADP ADP AdpType=Prep 18 case _ _
21+
17 un un DET DET Definite=Ind|Gender=Masc|Number=Sing|PronType=Art 18 det _ _
22+
18 descuido descuido NOUN NOUN Gender=Masc|Number=Sing 14 obj _ _
23+
19 de de ADP ADP AdpType=Prep 20 case _ _
24+
20 fábrica fábrica NOUN NOUN Gender=Fem|Number=Sing 18 nmod _ SpaceAfter=No
25+
21 . . PUNCT PUNCT PunctType=Peri 14 punct _ _
26+
27+
# sent_id = dev-s49
28+
# text = De allí las rebajas.
29+
# orig_file_sentence 001#49
30+
1 De de ADP ADP AdpType=Prep 2 case _ _
31+
2 allí allí ADV ADV _ 4 advmod _ _
32+
3 las las DET DET Definite=Def|Gender=Fem|Number=Plur|PronType=Art 4 det _ _
33+
4 rebajas rebajas NOUN NOUN Gender=Fem|Number=Plur 0 root _ SpaceAfter=No
34+
5 . . PUNCT PUNCT PunctType=Peri 4 punct _ _
35+

itest/src/edu/stanford/nlp/pipeline/CoNLLUReaderITest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class CoNLLUReaderITest {
1919

2020
public String exampleDocument = "Pero la existencia de dos recién nacidos en la misma caja sólo podía deberse a un " +
2121
"descuido de fábrica.\nDe allí las rebajas.\n";
22-
public String examplePath = String.format("%s/stanford-corenlp/testing/data/conllu/es-example.conllu", TestPaths.testHome());
22+
public String examplePath = String.format("edu/stanford/nlp/pipeline/es-example.conllu");
2323
public StanfordCoreNLP pipeline;
2424
public Annotation goldDocument;
2525
public Annotation readInDocument;

0 commit comments

Comments
 (0)