On 6/26/11 1:17 PM, Sam Li wrote:
How does one preserve newline characters when detecting sentences?
You can keep the original text string and let the sentence detector return a span array, the spans identify the individual sentences.
Does that answer your question? Otherwise I might have misunderstood you. Jörn
