commit | 62e4f3bf224d6a3a17c04524a674caaa14270753 | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Fri Jun 07 21:56:16 2002 +0000 |
committer | Greg Ward <gward@python.net> | Fri Jun 07 21:56:16 2002 +0000 |
tree | 9f3bb8d87941c55308f4a435aaeb762f89c08844 | |
parent | 00935824898a826f2dd6c65933667445075cdb2e [diff] |
Add fix_sentence_endings option to control whether we ensure that sentences are separated by two spaces. Improve _fix_sentence_endings() a bit -- look for ".!?" instead of just ".", and factor out the list of sentence-ending punctuation characters to a class attribute.