File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
itest/src/edu/stanford/nlp/pipeline
test/src/edu/stanford/nlp/trees Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public void testSimpleSentence() throws IOException {
42
42
String expected = "1\t CoNLL\t conll\t NOUN\t NN\t Number=Sing\t 3\t compound\t 3:compound\t SpaceAfter=No\n " +
43
43
"2\t -\t -\t PUNCT\t HYPH\t _\t 3\t punct\t 3:punct\t SpaceAfter=No\n " +
44
44
"3\t U\t u\t NOUN\t NN\t Number=Sing\t 5\t nsubj\t 5:nsubj\t _\n " +
45
- "4\t is\t be\t VERB \t VBZ\t Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin\t 5\t cop\t 5:cop\t _\n " +
45
+ "4\t is\t be\t AUX \t VBZ\t Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin\t 5\t cop\t 5:cop\t _\n " +
46
46
"5\t neat\t neat\t ADJ\t JJ\t Degree=Pos\t 0\t root\t 0:root\t SpaceAfter=No\n " +
47
47
"6\t .\t .\t PUNCT\t .\t _\t 5\t punct\t 5:punct\t _\n " +
48
48
"\n " +
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class UniversalPOSMapperTest {
10
10
public void testMap () {
11
11
Tree tree = Tree .valueOf ("(ROOT (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (JJ simple) (NN test)))))" );
12
12
Tree newTree = UniversalPOSMapper .mapTree (tree );
13
- Tree expected = Tree .valueOf ("(ROOT (S (NP (PRON This)) (VP (VERB is) (NP (DET a) (ADJ simple) (NOUN test)))))" );
13
+ Tree expected = Tree .valueOf ("(ROOT (S (NP (PRON This)) (VP (AUX is) (NP (DET a) (ADJ simple) (NOUN test)))))" );
14
14
Assert .assertEquals (expected , newTree );
15
15
}
16
16
}
You can’t perform that action at this time.
0 commit comments