Crate contractions[][src]

Expand description

contractions is a library to handle contractions

Structs

Contractions

Main actor in the contractions crate

Constants

CONTRACTIONS_JSON_ORDER

The list of all json strings.

EXPAND_DOUBLE_CONTRACTIONS_JSON

Contains contractions with two apostroph in json form (eg: Who’ll’ve, Wouldn’t’ve, Mustn’t’ve)

EXPAND_DOUBLE_NO_APOSTROPHE_CONTRACTIONS_JSON

Contains most of CONTRACTIONS_DOUBLE_JSON contractions but without apostroph

EXPAND_PARTIAL_CONTRACTIONS_JSON

Contains partial contractions in json form. (eg: ’m, ’ve, n’t, ’re)

EXPAND_SINGLE_CONTRACTIONS_JSON

Contains contractions with one apostroph in json form (eg: I’m, I’ve, ’twas)

EXPAND_SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON

Contains most of CONTRACTIONS_SINGLE_JSON contractions but without apostroph

EXPAND_SLANG_JSON

Contains slang terms which will be expanded/changed to their full form

EXPAND_TRIPPLE_CONTRACTIONS_JSON

Contains contractions with three apostroph in json form (Y’all’d’ve, ’twou’dn’t)