Suggest spelling corrections in dx

@kjlai, please review.
Added docstring.