SentenceSplitter typedef
SentenceSplitter =
List<String> Function(SourceText source)
A splitter function that returns a list of sentences from source.
In English, the source text is split at sentence endings marks such as
periods, question marks and exclamation marks. If the source contains
paragraph ending marks it should also be split at these.
The sentence splitter should avoid splitting after abbreviations, which may end with period marks.
Implementation
typedef SentenceSplitter = List<String> Function(SourceText source);