sujalvaidya / WikiSummarizerBot

78 stars 5 forks source link

Decimal points being treated like periods. #4

Open AndreLemay opened 2 years ago

AndreLemay commented 2 years ago

Comment link: https://www.reddit.com/r/worldnews/comments/q5dpts/angela_merkel_lays_wreath_at_israels_national/hg83tu5

Original text from wiki (including full sentence):

The State of Israel has a population of approximately 9,227,700 inhabitants as of July 2020. Some 74.24% are Jews of all backgrounds (about 6,829,000 individuals), 20.95% are Arab of any religion other than Jewish (about 1,890,000 individuals), while the remaining 4.81% (about 434,000 individuals) are defined as "others", including persons of Jewish ancestry deemed non-Jewish by religious law and persons of non-Jewish ancestry who are family members of Jewish immigrants (neither of which are registered at the Ministry of Interior as Jews), Christian non-Arabs, Muslim non-Arabs and all other residents who have neither an ethnic nor religious classification.

Summarized text in comment:

The State of Israel has a population of approximately 9,227,700 inhabitants as of July 2020. Some 74. 24% are Jews of all backgrounds (about 6,829,000 individuals), 20. 95% are Arab of any religion other than Jewish (about 1,890,000 individuals), while the remaining 4.

You can see that in both the "70.24%" and "20.95%", a space is inserted after the decimal, as if it was actually a sentence ending period. The final sentence is also cut off in the middle of "4.81%" for the same reason.

yaomtc commented 1 year ago

If the . is followed immediately by a number, it is not a period. If it's followed by a space or a [, it most likely is.

https://www.reddit.com/r/cookingforbeginners/comments/116oyxy/comment/j98k9re/