Contraction Expander.

See: Description

Package Description

Contraction Expander.

A contraction expander takes a contracted form as input and produces an expanded (uncontracted) form as output. For example, the English language contraction expander expands "don't" to "do not" and "niltow" to "wilt thou not."

All MorphAdorner contraction expanders must implement the ContractionExpander interface. The ContractionExpanderFactory provides the mechanism for instantiating a default or specified instance of a ContractionExpander implementation. The AbstractContractionExpander serves as a base class for deriving concrete implementations of contraction expanders. The DefaultContractionExpander if for English language contractions and just wraps EnglishContractionExpander.