(Apache Pig, MapReduce Java, Java UDFs) Code for correcting misspelled words by stemming words and calculating Levenshtein distance for a dictionary of words.