shaonaghosh / soylent

Automatically exported from code.google.com/p/soylent
0 stars 0 forks source link

Robust support for number of spaces between sentences. #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Right now we just look at the number of spaces after the first sentence to 
determine the number of spaces between sentences. It would probably be better 
to get rid of sentence_separator entirely and do what word does: attach spaces 
to the end of each sentence. I don't think that this would harm most of the 
javascript; we can sentences.join('') rather than 
sentences.join(sentence_separator).

Original issue reported on code.google.com by esperte...@gmail.com on 9 Jun 2010 at 4:27