You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several times the paragraphs have new lines copied from the source document (particularly when copied from PDF) and they should be ignored when sentences are tokenized.
This is the text taken from copying the text from a PDF document:
s = """
In this article, we present a language-independent, unsupervised approach to sentence boundary
detection. It is based on the assumption that a large number of ambiguities in the determination
of sentence boundaries can be eliminated once abbreviations have been identified. Instead of
relying on orthographic clues, the proposed system is able to detect abbreviations with high
accuracy using three criteria that only require information about the candidate type itself and
are independent of context: Abbreviations can be defined as a very tight collocation consisting
of a truncated word and a final period, abbreviations are usually short, and abbreviations
sometimes contain internal periods. We also show the potential of collocational evidence for
two other important subtasks of sentence boundary disambiguation, namely, the detection
of initials and ordinal numbers. The proposed system has been tested extensively on eleven
different languages and on different text genres. It achieves good results without any further
amendments or language-specific resources. We evaluate its performance against three different
baselines and compare it to other systems for sentence boundary detection proposed in the
literature."""
split_sentences(s)
"In this article, we present a language-independent, unsupervised approach to sentence boundary"
"detection."
"It is based on the assumption that a large number of ambiguities in the determination of sentence boundaries can be eliminated once abbreviations have been identified."
"Instead of"
"relying on orthographic clues, the proposed system is able to detect abbreviations with high"
"accuracy using three criteria that only require information about the candidate type itself and"
"are independent of context: Abbreviations can be defined as a very tight collocation consisting of a truncated word and a final period, abbreviations are usually short, and abbreviations"
"sometimes contain internal periods."
"We also show the potential of collocational evidence for"
"two other important subtasks of sentence boundary disambiguation, namely, the detection of initials and ordinal numbers."
"The proposed system has been tested extensively on eleven"
"different languages and on different text genres."
"It achieves good results without any further"
"amendments or language-specific resources."
"We evaluate its performance against three different"
"baselines and compare it to other systems for sentence boundary detection proposed in the"
"literature."
The text was updated successfully, but these errors were encountered:
dhruvil410
added a commit
to dhruvil410/WordTokenizers.jl
that referenced
this issue
Mar 19, 2021
Several times the paragraphs have new lines copied from the source document (particularly when copied from PDF) and they should be ignored when sentences are tokenized.
This is the text taken from copying the text from a PDF document:
The text was updated successfully, but these errors were encountered: