ex_lingua_sentence

Separates a paragraph into sentences in several languages. A port of perl's Lingua::Sentence


License
LGPL-3.0-only

Documentation

ExLinguaSentence

Separates a paragraph of text into sentences. A port of the Lingua::Sentence perl library. See here for a list of supported languages.

Installation

Add ex_lingua_sentence to your list of dependencies in mix.exs:

  def deps do
    [{:ex_lingua_sentence, "~> 0.1.1"}]
  end

Usage

en_splitter = ExLinguaSentence.start_link( "en" )
sentences = en_splitter.split( "The first sentence.  The second... And the third." )