When writing English text, LaTeX adds a larger space after the end of a sentence than between words. This is in accordance with local typographic standards. Things get complicated when you let a machine decide what exactly makes up the end of a sentence.