Documentation of 'smile.nlp.tokenizer.SimpleParagraphSplitter' Java class
SimpleParagraphSplitter
smile.nlp.tokenizer

Class SimpleParagraphSplitter

  • All Implemented Interfaces:
    ParagraphSplitter


    public class SimpleParagraphSplitter
    extends java.lang.Object
    implements ParagraphSplitter
    This is a simple paragraph splitter. Given a string, it returns a list of strings, where each element is a paragraph.

    The beginning of a paragraph is indicated by

    • the beginning of the content, that is, the paragraph is the first content in the document, or
    • exactly one blank line preceding the paragraph text
    The end of a paragraph is indicated by
    • the end of the content, that is, the paragraph is the last content in the document, or
    • one or more blank lines following the paragraph text
    A blank line contains zero or more non-printing characters, such as space or tab, followed by a new line.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.