Skip to content

zamgi/lingvo--SentSplitter

Repository files navigation

lingvo--SentSplitter

Detection borders of a sentence

[ live demo ]

For a definition of the borders - it would seem that could be easier? Where is the point, there is an end. But then the proposal, for example, «Mayakovsky (1893 born.) Spent his childhood in s.Bagdati Kutaisi province.» - is broken into six. And if the text on the mathematical or economic issues with a mass of floating point numbers, such as 3.14 bn. rub.?
The correct definition of the boundaries of the text - it is an important condition for the further processing of text morphological and syntactic modules. Originally planted mistake can lead to a significant reduction in the accuracy of the further processing of the text. Therefore, this step is so important for the correct operation of all other linguistic modules.
Represented demo not perfectly the same, but, nevertheless most tokenization avoids errors when the automatic text processing.

Speed work: about 45 MB/sec for the text in double-byte character set.

input text


Theodore Robert Bundy (born Theodore Robert Cowell; November 24, 1946 – January 24, 1989) was an American serial killer, kidnapper, rapist, and necrophile who assaulted and murdered numerous young women and girls during the 1970s and possibly earlier. Shortly before his execution, after more than a decade of denials, he confessed to 30 homicides committed in seven states between 1974 and 1978. The true victim count remains unknown, and could be much higher. Bundy was regarded as handsome and charismatic by many of his young female victims, traits he exploited to win their trust. He typically approached them in public places, feigning injury or disability, or impersonating an authority figure, before overpowering and assaulting them at more secluded locations. He sometimes revisited his secondary crime scenes for hours at a time, grooming and performing sexual acts with the decomposing corpses until putrefaction and destruction by wild animals made further interaction impossible. He decapitated at least 12 of his victims, and kept some of the severed heads in his apartment for a period of time as mementos. On a few occasions, he simply broke into dwellings at night and bludgeoned his victims as they slept. Initially incarcerated in Utah in 1975 for aggravated kidnapping and attempted criminal assault, Bundy became a suspect in a progressively longer list of unsolved homicides in multiple states. Facing murder charges in Colorado, he engineered two dramatic escapes and committed further assaults, including three murders, before his ultimate recapture in Florida in 1978. He received three death sentences in two separate trials for the Florida homicides. Bundy died in the electric chair at Raiford Prison in Starke, Florida, on January 24, 1989. Biographer Ann Rule described him as "... a sadistic sociopath who took pleasure from another human's pain and the control he had over his victims, to the point of death, and even after." He once called himself "... the most cold-hearted son of a bitch you'll ever meet." Attorney Polly Nelson, a member of his last defense team, agreed. "Ted," she wrote, "was the very definition of heartless evil."
# result
1.Theodore Robert Bundy (born Theodore Robert Cowell; November 24, 1946 – January 24, 1989) was an American serial killer, kidnapper, rapist, and necrophile who assaulted and murdered numerous young women and girls during the 1970s and possibly earlier.
2. Shortly before his execution, after more than a decade of denials, he confessed to 30 homicides committed in seven states between 1974 and 1978.
3. The true victim count remains unknown, and could be much higher.
4. Bundy was regarded as handsome and charismatic by many of his young female victims, traits he exploited to win their trust.
5. He typically approached them in public places, feigning injury or disability, or impersonating an authority figure, before overpowering and assaulting them at more secluded locations.
6. He sometimes revisited his secondary crime scenes for hours at a time, grooming and performing sexual acts with the decomposing corpses until putrefaction and destruction by wild animals made further interaction impossible.
7. He decapitated at least 12 of his victims, and kept some of the severed heads in his apartment for a period of time as mementos.
8. On a few occasions, he simply broke into dwellings at night and bludgeoned his victims as they slept.
9. Initially incarcerated in Utah in 1975 for aggravated kidnapping and attempted criminal assault, Bundy became a suspect in a progressively longer list of unsolved homicides in multiple states.
10. Facing murder charges in Colorado, he engineered two dramatic escapes and committed further assaults, including three murders, before his ultimate recapture in Florida in 1978.
11. He received three death sentences in two separate trials for the Florida homicides.
12. Bundy died in the electric chair at Raiford Prison in Starke, Florida, on January 24, 1989.
13. Biographer Ann Rule described him as "... a sadistic sociopath who took pleasure from another human's pain and the control he had over his victims, to the point of death, and even after.
14." He once called himself "... the most cold-hearted son of a bitch you'll ever meet.
15." Attorney Polly Nelson, a member of his last defense team, agreed.
16. "Ted," she wrote, "was the very definition of heartless evil.