correct: Correct spelling.

Description Usage Arguments Value

Description

Given an instance of SpellCorrector, return the most probably corrected spelling of the given word.

Usage

1
correct(word, corrector)

Arguments

word

A token.

corrector

A Java instance of SpellCorrector, given by getcorrector.

Value

Corrected spelling


stephenhky/RSpellCorrection documentation built on May 30, 2019, 3:19 p.m.