Fix regex in measure().

There was a bug in the regex in the measure() method. Specifically, the
letter "g" was being omitted from the regex for consonants, causing
words like "tragic" to be incorrectly stemmed as "trag". Correcting the
regex has improved the success rate:

(1 - 382 / 30428) = 0.9874457736295518