added support for spelling correction API