Changes to the frequency-based selection of tokens for regex creation