Spell checker and morphological analyzer library and program