pig latin

Pig Latin is a language game or argot in which words in English are altered, usually by adding a fabricated suffix or by moving the onset or initial consonant or consonant cluster of a word to the end of the word and adding a vocalic syllable to create such a suffix.

levenshtein

The Levenshtein algorithm measures the smallest number of insertions, deletions, or substitutions required to turn one string into another. In the quiz, we run it on each word individually: summing those per-word edit distances gives the total errors, which we divide by the full character count to yield an accuracy score. By isolating mistakes at the word level, we prevent a single typo from skewing the entire sentence’s score.