Skip to content

Commit 4064293

Browse files
committed
Add two more test items that I'd meant to include.
1 parent 2032a50 commit 4064293

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,8 @@ public void testHyphensQuoteAndBOM() {
956956
"IT IS ON P.72",
957957
"ʻAbdu'l-Bahá, born ʻAbbás, was the eldest son of Baháʼu'lláh and served as head of the Baháʼí Faith from 1892 until 1921.",
958958
"Let's shoot'em up",
959+
"In Louis L'Amour's 1985 historical novel",
960+
"Grace O'Malley's Castle.",
959961

960962
};
961963

@@ -978,6 +980,8 @@ public void testHyphensQuoteAndBOM() {
978980
"served", "as", "head", "of", "the", "Baháʼí", "Faith", "from", "1892", "until", "1921", "."
979981
},
980982
{ "Let", "'s", "shoot", "'em", "up" },
983+
{ "In", "Louis", "L'Amour", "'s", "1985", "historical", "novel" },
984+
{ "Grace", "O'Malley", "'s", "Castle", "." },
981985

982986
};
983987

0 commit comments

Comments
 (0)