Essence.Chunker (essence v0.3.0)

This module contains helpful methods to chunk text into paragraphs and sentences.

Link to this section Summary

Functions

Chunks a given text into paragraphs. A paragraph is any text, separated by two or more newline characters.

Chunks the given text into sentences.

Link to this section Functions

Link to this function

paragraphs(text)

Specs

paragraphs(String.t()) :: List.t()

Chunks a given text into paragraphs. A paragraph is any text, separated by two or more newline characters.

Link to this function

sentences(text)

Specs

sentences(String.t()) :: List.t()

Chunks the given text into sentences.