Excerpt |
---|
Breaks a text block into sentences, using OpenNLP Sentence Detector |
Operates On: Lexical Items with TEXT_BLOCK and possibly other flags as specified below.
Library: saga-sentence-breaker-stage
Include Page | ||||
---|---|---|---|---|
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "type":"SentenceBreakerStage", "language":"en", "skipFlags": ["SKIP"], "debug": true, } |
The sentence detector will remove any space spaces and dot, dots at the beginning and end of a sentence.
Code Block | ||||
---|---|---|---|---|
| ||||
V-----------[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eget luctus lorem. Nam cursus eleifend efficitur. Cras nec ultricies nulla. Maecenas porta cursus massa non consectetur.]------------V ^--[Lorem ipsum dolor sit amet, consectetur adipiscing elit]--V--[Sed eget luctus lorem]--V--[Nam cursus eleifend efficitur]--V--[Cras nec ultricies nulla]--V--[Maecenas porta cursus massa non consectetur]--^ |
...
...