some improvements to the vocab list class and the preprocessing.