Process the fingerprint names in the loading stage, not in the main loop.
Fix coding style.
Add --first-word.
Count the number of used patterns that start with the single word and
expand the ones that correspond to only one pattern.