On Thu, Jun 06, 2002, Greg Ward wrote: > > * The code is not locale-aware; it should be to detect sentence > endings, which it needs to do to ensure that there are two spaces > after each sentence ending. Eg. it fixes > "I have eaten. And you?" > but not > "Moi, j'ai mangé. Et toi?" It should fix neither. However, it should preserve sentence endings: "I have eaten. And you?" becomes "I have eaten. And you?" Writing the algorithm this way should require no locale-dependent code. -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "I had lots of reasonable theories about children myself, until I had some." --Michael Rios
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4