Minify .gitignore.
Add encoding specifications.
Rename get_reformulations to reformulate_query.