A spell correction approach by using levenshtein distance and ngram theory