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 {
4242 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 " +
4343 "2\t -\t -\t PUNCT\t HYPH\t _\t 3\t punct\t 3:punct\t SpaceAfter=No\n " +
4444 "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 " +
4646 "5\t neat\t neat\t ADJ\t JJ\t Degree=Pos\t 0\t root\t 0:root\t SpaceAfter=No\n " +
4747 "6\t .\t .\t PUNCT\t .\t _\t 5\t punct\t 5:punct\t _\n " +
4848 "\n " +
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class UniversalPOSMapperTest {
1010 public void testMap () {
1111 Tree tree = Tree .valueOf ("(ROOT (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (JJ simple) (NN test)))))" );
1212 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)))))" );
1414 Assert .assertEquals (expected , newTree );
1515 }
1616}
You can’t perform that action at this time.
0 commit comments