/Contractions.jl

A simple text cleaning package for fixing contraction in a given text

Primary LanguageJuliaMIT LicenseMIT

Contractions

Stable Dev Build Status Coverage

Contractions.jl

  • A simple NLP package for fixing contractions in a given text

Installation

Contractions.jl can be installed using the following methods

From Julia General Registry

>>> ]
>>> add Contractions

or

>>> using Pkg
>>> Pkg.add("Contractions")

From Cloning this repo

>>> ]
>>> add 

Usage

Contractions.jl is very simple to use. It is easy as this

>>> using Contractions
>>> docx1 = "he'll be there, if not I can't"
>>> fix_contractions(docx1)
he will be there, if not I cannot

Alternatively

>>> using Contractions
>>> docx1 = "he'll be there, if not I can't"
>>> Contractions.fix_contractions(docx1)
he will be there, if not I cannot