Skip to content

Commit f758c04

Browse files
committed
Add a test
1 parent e23a3cc commit f758c04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/src/edu/stanford/nlp/process/PTBTokenizerTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,8 @@ public void testEmoji() {
836836
"stems reach a max. of 3.5 m",
837837
"for min. 14 days",
838838
"stems reach a min. of 3.5 m",
839-
"Apple released the iPhone 11 Pro Max. The iPhone family expanded."
839+
"Apple released the iPhone 11 Pro Max. The iPhone family expanded.",
840+
"C'mon, c’mon.",
840841
};
841842

842843
private final String[][] tweetGold = {
@@ -873,6 +874,7 @@ public void testEmoji() {
873874
{ "for", "min.", "14", "days" },
874875
{ "stems", "reach", "a", "min.", "of", "3.5", "m" },
875876
{ "Apple", "released", "the", "iPhone", "11", "Pro", "Max", ".", "The", "iPhone", "family", "expanded", "." },
877+
{ "C'mon", ",", "c’mon", "." },
876878
};
877879

878880
@Test

0 commit comments

Comments
 (0)