# Each test case is defined as:
# Input text
# ---
# Expected segments (one per line)
# ===

This is a test. This is only a test.
---
This is a test.
This is only a test.
===
Hello world! How are you?
---
Hello world!
How are you?
===
This is Dr. Watson
---
This is Dr. Watson
===
Roses Are Red. Violets Are Blue
---
Roses Are Red.
Violets Are Blue
===
Hello! How are you?
---
Hello!
How are you?
===
This is a test.
---
This is a test.
===
Mr. Smith went to Washington.
---
Mr. Smith went to Washington.
===
What a suprise?!
---
What a suprise?!
===
That's all folks...
---
That's all folks...
===
This is UK. Not US
---
This is UK.
Not US
===
This balloon costs $1.20
---
This balloon costs $1.20
===
Hello World. My name is Jonas.
---
Hello World.
My name is Jonas.
===
What is your name? My name is Jonas.
---
What is your name?
My name is Jonas.
===
There it is! I found it.
---
There it is!
I found it.
===
My name is Jonas E. Smith.
---
My name is Jonas E. Smith.
===
Please turn to p. 55.
---
Please turn to p. 55.
===
Were Jane and co. at the party?
---
Were Jane and co. at the party?
===
They closed the deal with Pitt, Briggs & Co. at noon.
---
They closed the deal with Pitt, Briggs & Co. at noon.
===
#Let's ask Jane and co. They should know.
#---
#Let's ask Jane and co.
#They should know.
#===
#They closed the deal with Pitt, Briggs & Co. It closed yesterday.
#---
#They closed the deal with Pitt, Briggs & Co.
#It closed yesterday.
#===
I can see Mt. Fuji from here.
---
I can see Mt. Fuji from here.
===
St. Michael's Church is on 5th st. near the light.
---
St. Michael's Church is on 5th st. near the light.
===
That is JFK Jr.'s book.
---
That is JFK Jr.'s book.
===
I visited the U.S.A. last year.
---
I visited the U.S.A. last year.
===
#I live in the E.U. How about you?
#---
#I live in the E.U.
#How about you?
#===
#I live in the U.S. How about you?
#---
#I live in the U.S.
#How about you?
===
I work for the U.S. Government in Virginia.
---
I work for the U.S. Government in Virginia.
===
I have lived in the U.S. for 20 years.
---
I have lived in the U.S. for 20 years.
===
#At 5 a.m. Mr. Smith went to the bank. He left the bank at 6 P.M. Mr. Smith then went to the store.
#---
#At 5 a.m. Mr. Smith went to the bank.
#He left the bank at 6 P.M.
#Mr. Smith then went to the store.
#===
She has $100.00 in her bag.
---
She has $100.00 in her bag.
===
She has $100.00. It is in her bag.
---
She has $100.00.
It is in her bag.
===
He teaches science (He previously worked for 5 years as an engineer.) at the local University.
---
He teaches science (He previously worked for 5 years as an engineer.) at the local University.
===
Her email is Jane.Doe@example.com. I sent her an email.
---
Her email is Jane.Doe@example.com.
I sent her an email.
===
The site is, https,//www.example.50.com/new-site/awesome_content.html. Please check it out.
---
The site is, https,//www.example.50.com/new-site/awesome_content.html.
Please check it out.
===
She turned to him, 'This is great.' she said.
---
She turned to him, 'This is great.' she said.
===
She turned to him, "This is great." she said.
---
She turned to him, "This is great." she said.
===
She turned to him, "This is great." She held the book out to show him.
---
She turned to him, "This is great."
She held the book out to show him.
===
Hello!! Long time no see.
---
Hello!!
Long time no see.
===
Hello?? Who is there?
---
Hello??
Who is there?
===
Hello!? Is that you?
---
Hello!?
Is that you?
===
Hello?! Is that you?
---
Hello?!
Is that you?
===
You can find it at N°. 1026.253.553. That is where the treasure is.
---
You can find it at N°. 1026.253.553.
That is where the treasure is.
===
She works at Yahoo! in the accounting department.
---
She works at Yahoo! in the accounting department.
===
#We make a good team, you and I. Did you see Albert I. Jones yesterday?
#---
#We make a good team, you and I.
#Did you see Albert I. Jones yesterday?
===
Thoreau argues that by simplifying one's life, "the laws of the universe will appear less complex. . . ."
---
Thoreau argues that by simplifying one's life, "the laws of the universe will appear less complex. . . ."
===
"Bohr [...] used the analogy of parallel stairways [...]" (Smith 55).
---
"Bohr [...] used the analogy of parallel stairways [...]" (Smith 55).
===
#If words are left off at the end of a sentence, and that is all that is omitted, indicate the omission with ellipsis marks (preceded and followed by a space) and then indicate the end of the sentence with a period . . . . Next sentence.
---
#If words are left off at the end of a sentence, and that is all that is omitted, indicate the omission with ellipsis marks (preceded and followed by a space) and then indicate the end of the sentence with a period . . . .
#Next sentence.
===
I never meant that.... She left the store.
---
I never meant that....
She left the store.
===
#I wasn't really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn't mean it.
#---
#I wasn't really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn't mean it.
===
#One further habit which was somewhat weakened . . . was that of combining words into self-interpreting compounds. . . . The practice was not abandoned. . . .
#---
#One further habit which was somewhat weakened . . . was that of combining words into self-interpreting compounds.
#. . . The practice was not abandoned. . . .
===
Saint Maximus (died 250) is a Christian saint and martyr.[1] The emperor Decius published a decree ordering the veneration of busts of the deified emperors.
---
Saint Maximus (died 250) is a Christian saint and martyr.[1]
The emperor Decius published a decree ordering the veneration of busts of the deified emperors.
===
Differing agendas can potentially create an understanding gap in a consultation.11 12 Take the example of one of the most common presentations in ill health: the common cold.
---
Differing agendas can potentially create an understanding gap in a consultation.11 12 Take the example of one of the most common presentations in ill health: the common cold.
===
Its traditional use[1] is well documented in the ethnobotanical literature [2–11]. Leaves, buds, tar and essential oils are used to treat a wide spectrum of diseases.
---
Its traditional use[1] is well documented in the ethnobotanical literature [2–11].
Leaves, buds, tar and essential oils are used to treat a wide spectrum of diseases.
===
Thus increasing the desire for political reform both in Lancashire and in the country at large.[7][8] This was a serious misdemeanour,[16] encouraging them to declare the assembly illegal as soon as it was announced on 31 July.[17][18] The radicals sought a second opinion on the meeting's legality.
---
Thus increasing the desire for political reform both in Lancashire and in the country at large.[7][8]
This was a serious misdemeanour,[16] encouraging them to declare the assembly illegal as soon as it was announced on 31 July.[17][18]
The radicals sought a second opinion on the meeting's legality.
===
"How many? I don't know."
---
"How many? I don't know."
===
Hydrogen is a gas. [1] It is colorless, odorless, tasteless and highly flammable
---
Hydrogen is a gas. [1]
It is colorless, odorless, tasteless and highly flammable
===
Hydrogen is a gas. [1][2] [3] It is colorless, odorless, tasteless and highly flammable
---
Hydrogen is a gas. [1][2] [3]
It is colorless, odorless, tasteless and highly flammable
===
This function (see. section 4.2) is important. Let's continue.
---
This function (see. section 4.2) is important.
Let's continue.
===
The book <War and Peace> is famous. I recommend reading it.
---
The book <War and Peace> is famous.
I recommend reading it.
===
The array {1, 2, 3} contains integers. Each element has a value.
---
The array {1, 2, 3} contains integers.
Each element has a value.
===
Check the reference [page. 42] for details. You'll find it helpful.
---
Check the reference [page. 42] for details.
You'll find it helpful.
===
The Japanese quote 「こんにちは」 means hello. It's a common greeting.
---
The Japanese quote 「こんにちは」 means hello.
It's a common greeting.
===
In Chinese 《红楼梦》 is a classic novel. Many people have read it.
---
In Chinese 《红楼梦》 is a classic novel.
Many people have read it.
===
The fullwidth parentheses （like. these） are used in Asian text. They serve the same purpose.
---
The fullwidth parentheses （like. these） are used in Asian text.
They serve the same purpose.
===
Mixed brackets (normal) and [square] and {cur. ly} work too. This is the next sentence.
---
Mixed brackets (normal) and [square] and {cur. ly} work too.
This is the next sentence.
===
Nested brackets (with [inner. brackets] inside) should work. This tests complex cases.
---
Nested brackets (with [inner. brackets] inside) should work.
This tests complex cases.
===
Unblanaced bracket with period (. in it will break.
---
Unblanaced bracket with period (.
in it will break.
===
Dr. Smith, who arrived at 3:00 p.m., said, "The patient's condition is stable; however, further tests (e.g., MRI, CT scan) are required." Meanwhile, the nurse—who had been on duty since 7:00 a.m.—noted that the patient's vitals (BP: 120/80, HR: 75) were within normal limits. "Let's proceed with the tests ASAP," she added.
---
Dr. Smith, who arrived at 3:00 p.m., said, "The patient's condition is stable; however, further tests (e.g., MRI, CT scan) are required."
Meanwhile, the nurse—who had been on duty since 7:00 a.m.—noted that the patient's vitals (BP: 120/80, HR: 75) were within normal limits.
"Let's proceed with the tests ASAP," she added.
===
Dr. Smith, who arrived at 3:00 p.m., said, "The patient's condition is stable; however, further tests (e.g., MRI, CT scan) are required.". Meanwhile, the nurse—who had been on duty since 7:00 a.m.—noted that the patient's vitals (BP: 120/80, HR: 75) were within normal limits. "Let's proceed with the tests ASAP," she added.
---
Dr. Smith, who arrived at 3:00 p.m., said, "The patient's condition is stable; however, further tests (e.g., MRI, CT scan) are required.".
Meanwhile, the nurse—who had been on duty since 7:00 a.m.—noted that the patient's vitals (BP: 120/80, HR: 75) were within normal limits.
"Let's proceed with the tests ASAP," she added.
===
He said `opens with a different symbol to what is used to close it.' Next sentence. "He said `hello world.' and left."
---
He said `opens with a different symbol to what is used to close it.'
Next sentence.
"He said `hello world.' and left."
===
He said ``opens with a different symbol to what is used to close it.'' Next sentence. "He said ``hello world.'' and left."
---
He said ``opens with a different symbol to what is used to close it.''
Next sentence.
"He said ``hello world.'' and left."
===
He said `opens with a different symbol to what is used to close it.` Next sentence. "He said `hello world.` and left."
---
He said `opens with a different symbol to what is used to close it.`
Next sentence.
"He said `hello world.` and left."
===
He said ``opens with a different symbol to what is used to close it.`` Next sentence. "He said ``hello world.`` and left."
---
He said ``opens with a different symbol to what is used to close it.``
Next sentence.
"He said ``hello world.`` and left."
===
'opens with a different symbol to what is used to close it.' Next sentence.
---
'opens with a different symbol to what is used to close it.'
Next sentence.
===
It's fine, `just use L'Hôpital's rule here.'
---
It's fine, `just use L'Hôpital's rule here.'
===
it`s fine to leave it's foods' smells to the cat`s nose
---
it`s fine to leave it's foods' smells to the cat`s nose
===
Vincent Cartier , Walter 's brother and manager , later reflected on his observations of Kubrick during the filming . He said , '' Stanley was very stoic , impassive but imaginative type person with strong , imaginative thoughts .
---
Vincent Cartier , Walter 's brother and manager , later reflected on his observations of Kubrick during the filming .
He said , '' Stanley was very stoic , impassive but imaginative type person with strong , imaginative thoughts .
===
Walter 's brother . He said , ' Stanley .
---
Walter 's brother .
He said , ' Stanley .
===
Wendy Schaal ( born July 2 , 1954 ) is an American actress and voice actress . She is best known as the voice of Francine Smith in the TV series '' American Dad ! '' .
---
Wendy Schaal ( born July 2 , 1954 ) is an American actress and voice actress . 
She is best known as the voice of Francine Smith in the TV series '' American Dad ! '' .
===
While the Gonarch is not encountered in '' Half - Life 2 '' , an amputated part of it exists as an unused model in the game 's code . This fusion of living material with technology is entirely in keeping with the Combine forces that are encountered in '' Half - Life 2 '' .
---
While the Gonarch is not encountered in '' Half - Life 2 '' , an amputated part of it exists as an unused model in the game 's code . 
This fusion of living material with technology is entirely in keeping with the Combine forces that are encountered in '' Half - Life 2 '' .
===
This version also appeared on Sebadoh 's 1992 compilation album '' Smash Your Head on the Punk Rock '' . It also appeared on a number of various artist compilations , including the City Slang compilation '' Slanged ! '' , and the Eurostar compilation '' Going Underground Vol. II '' .
---
This version also appeared on Sebadoh 's 1992 compilation album '' Smash Your Head on the Punk Rock '' . 
It also appeared on a number of various artist compilations , including the City Slang compilation '' Slanged ! '' , and the Eurostar compilation '' Going Underground Vol. II '' .
===
According to the publisher Random House , she is the originator of the '' service dog '' , dogs that are trained to help people with mobility limitations .
---
According to the publisher Random House , she is the originator of the '' service dog '' , dogs that are trained to help people with mobility limitations .
===
Desprez is also known as a designer and maker of embroidery for purses , as a ' Maistre Boursier . ' He published a map of La Rochelle , and was recorded working in Paris between 1556 and 1580 .
---
Desprez is also known as a designer and maker of embroidery for purses , as a ' Maistre Boursier . ' 
He published a map of La Rochelle , and was recorded working in Paris between 1556 and 1580 .
===
Gagan Kokri is an punjabi singer . ' Blessings of Baapu ' and ' Asla ' is his Best ever hits .
---
Gagan Kokri is an punjabi singer . 
' Blessings of Baapu ' and ' Asla ' is his Best ever hits .
===
Kate Owen looked at him and said quietly, `And what do you remember next?'  ' I was in bed, in the infirmary, with bandages.'
---
Kate Owen looked at him and said quietly, `And what do you remember next?' 
' I was in bed, in the infirmary, with bandages.'
===
' No, they'll not catch you again.  If they try, they'll have Kate Owen to reckon with.'
---
' No, they'll not catch you again.  If they try, they'll have Kate Owen to reckon with.'
===
Do you know what it means not to know what to do ? '' Graham was ultimately convicted . The informant was immediately released from jail , her sentence commuted to time served .
---
Do you know what it means not to know what to do ? ''
Graham was ultimately convicted .
The informant was immediately released from jail , her sentence commuted to time served .
===
Bloodlines '' ( also known as '' Wrong Turn 5 '' ) is a 2012 American horror film written and directed by Declan O'Brien . It is a prequel and the fifth ( chronologically , the second ) installment in the '' Wrong Turn '' film series .
---
Bloodlines '' ( also known as '' Wrong Turn 5 '' ) is a 2012 American horror film written and directed by Declan O'Brien .
It is a prequel and the fifth ( chronologically , the second ) installment in the '' Wrong Turn '' film series .
===
He became notable in the media in 1999 for being one of two councillors to opt out of retroactive salary increases that council had implemented , saying '' ... what the ( salary ) committee recommended was fair and appropriate , but the timing was wrong . It should be for the next council term which would give the electorate time to pass comment on councillors '' remuneration .
---
He became notable in the media in 1999 for being one of two councillors to opt out of retroactive salary increases that council had implemented , saying '' ... what the ( salary ) committee recommended was fair and appropriate , but the timing was wrong . It should be for the next council term which would give the electorate time to pass comment on councillors '' remuneration .
===
'' The internet exploded with questions about ( Janay Rice ) , '' she wrote . '' Why did n't she leave ?
---
'' The internet exploded with questions about ( Janay Rice ) , '' she wrote .
'' Why did n't she leave ?
===
And the music has a melody and a language in and of itself '' . Lead editor Naomi Zeichner went on to compare the album to the work of Interpol and '' the retro biker bar rock that soundtracks '' Sons of Anarchy '' '' .
---
And the music has a melody and a language in and of itself '' .
Lead editor Naomi Zeichner went on to compare the album to the work of Interpol and '' the retro biker bar rock that soundtracks '' Sons of Anarchy '' '' .
===
Continuing north to northeast LA 27 enters DeRidder as South Pine street and intersects with U.S. Route 171/U.S . Highway 190 at the northern terminus .
---
Continuing north to northeast LA 27 enters DeRidder as South Pine street and intersects with U.S. Route 171/U.S . Highway 190 at the northern terminus .
===
Hello Mr . Robinson how are you today?
---
Hello Mr . Robinson how are you today?
===
In 2006 , Slean teamed up with video director Nelson Chan ( '' Mary '' , '' Day One '' ) to create a three - part short film titled '' Tales of the Baroness '' . The first segment aired on 11 May 2007 on Bravo ! .
---
In 2006 , Slean teamed up with video director Nelson Chan ( '' Mary '' , '' Day One '' ) to create a three - part short film titled '' Tales of the Baroness '' .
The first segment aired on 11 May 2007 on Bravo ! .
===
I wasn’t really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn’t mean it.
---
I wasn’t really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn’t mean it.
===
Pausing... for... thought... should not?
---
Pausing... for... thought... should not?
===
Happy . . .  no one had ever before said anything about wanting him to be happy.
---
Happy . . .  no one had ever before said anything about wanting him to be happy.
===
Happy ...  no one had ever before said anything about wanting him to be happy.
---
Happy ...  no one had ever before said anything about wanting him to be happy.
===
Happy...  no one had ever before said anything about wanting him to be happy.
---
Happy...  no one had ever before said anything about wanting him to be happy.
===
Happy . . .  No one had ever before said anything about wanting him to be happy.
---
Happy . . .
No one had ever before said anything about wanting him to be happy.
===
Happy ...  No one had ever before said anything about wanting him to be happy.
---
Happy ...
No one had ever before said anything about wanting him to be happy.
===
Happy... No one had ever before said anything about wanting him to be happy.
---
Happy...
No one had ever before said anything about wanting him to be happy.
===
Happy! . . .  no one had ever before said anything about wanting him to be happy.
---
Happy! . . .  no one had ever before said anything about wanting him to be happy.
===
Happy! ...  no one had ever before said anything about wanting him to be happy.
---
Happy! ...  no one had ever before said anything about wanting him to be happy.
===
Happy!...  no one had ever before said anything about wanting him to be happy.
---
Happy!...  no one had ever before said anything about wanting him to be happy.
===
Happy! . . .  No one had ever before said anything about wanting him to be happy.
---
Happy! . . .
No one had ever before said anything about wanting him to be happy.
===
Happy! ...  No one had ever before said anything about wanting him to be happy.
---
Happy! ...
No one had ever before said anything about wanting him to be happy.
===
Happy!... No one had ever before said anything about wanting him to be happy.
---
Happy!...
No one had ever before said anything about wanting him to be happy.
===
Happy? . . .  no one had ever before said anything about wanting him to be happy.
---
Happy? . . .  no one had ever before said anything about wanting him to be happy.
===
Happy? ...  no one had ever before said anything about wanting him to be happy.
---
Happy? ...  no one had ever before said anything about wanting him to be happy.
===
Happy?...  no one had ever before said anything about wanting him to be happy.
---
Happy?...  no one had ever before said anything about wanting him to be happy.
===
Happy? . . .  No one had ever before said anything about wanting him to be happy.
---
Happy? . . .
No one had ever before said anything about wanting him to be happy.
===
Happy? ...  No one had ever before said anything about wanting him to be happy.
---
Happy? ...
No one had ever before said anything about wanting him to be happy.
===
Happy?... No one had ever before said anything about wanting him to be happy.
---
Happy?...
No one had ever before said anything about wanting him to be happy.
===
According to '' The Minish Cap '' , they were created to guard the Wind Tribe ! ! ! And there is a Minish - sized chamber inside them where they can be turned on or off .
---
According to '' The Minish Cap '' , they were created to guard the Wind Tribe ! ! !
And there is a Minish - sized chamber inside them where they can be turned on or off .
===
Really ? ? ? Then we should go .
---
Really ? ? ?
Then we should go .
===
Nf6 , when 7.f4 and 7.Bg5 are the main possibilities for White . However , 6 ... d6 ! ? is an independent alternative for Black .
---
Nf6 , when 7.f4 and 7.Bg5 are the main possibilities for White .
However , 6 ... d6 ! ? is an independent alternative for Black .
===
I wasn’t really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn’t mean it.
---
I wasn’t really ... well, what I mean...see . . . what I'm saying, the thing is . . . I didn’t mean it.
===
Hello world.Today is Tuesday.Mr. Smith went to the store and bought 1,000.That is a lot.
---
Hello world.
Today is Tuesday.
Mr. Smith went to the store and bought 1,000.
That is a lot.
===
The pineapple ( '' Ananas comosus '' ) is a sign from god that you need to brush more . It comes with with edible burritos that are filled with whipped cream. , It is not the most economically significant plant in the Bromeliaceae family .
---
The pineapple ( '' Ananas comosus '' ) is a sign from god that you need to brush more .
It comes with with edible burritos that are filled with whipped cream. , It is not the most economically significant plant in the Bromeliaceae family .
===
I thought... I would go.
---
I thought... I would go.
===
