Skip to content

Commit

Permalink
Gottem
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Mar 14, 2024
1 parent 396741e commit 15bcfb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void testSimpleSentence() throws IOException {
String expected = "1\tCoNLL\tconll\tNOUN\tNN\tNumber=Sing\t3\tcompound\t3:compound\tSpaceAfter=No\n" +
"2\t-\t-\tPUNCT\tHYPH\t_\t3\tpunct\t3:punct\tSpaceAfter=No\n" +
"3\tU\tu\tNOUN\tNN\tNumber=Sing\t5\tnsubj\t5:nsubj\t_\n" +
"4\tis\tbe\tVERB\tVBZ\tMood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin\t5\tcop\t5:cop\t_\n" +
"4\tis\tbe\tAUX\tVBZ\tMood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin\t5\tcop\t5:cop\t_\n" +
"5\tneat\tneat\tADJ\tJJ\tDegree=Pos\t0\troot\t0:root\tSpaceAfter=No\n" +
"6\t.\t.\tPUNCT\t.\t_\t5\tpunct\t5:punct\t_\n" +
"\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class UniversalPOSMapperTest {
public void testMap() {
Tree tree = Tree.valueOf("(ROOT (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (JJ simple) (NN test)))))");
Tree newTree = UniversalPOSMapper.mapTree(tree);
Tree expected = Tree.valueOf("(ROOT (S (NP (PRON This)) (VP (VERB is) (NP (DET a) (ADJ simple) (NOUN test)))))");
Tree expected = Tree.valueOf("(ROOT (S (NP (PRON This)) (VP (AUX is) (NP (DET a) (ADJ simple) (NOUN test)))))");
Assert.assertEquals(expected, newTree);
}
}
Expand Down

0 comments on commit 15bcfb3

Please sign in to comment.