paragraphSplitter property Null safety

ParagraphSplitter paragraphSplitter
override

The LatinLanguageAnalyzerMixin implementation of paragraphSplitter.

Algorithm:

  • Split the text at line endings.
  • Trim leading and trailing white-space from all terms.
  • Return only non-empty elements.

Implementation

@override
ParagraphSplitter get paragraphSplitter =>
    (source) => source.splitAtLineEndings();