thrift spell check java