make counting n-grams optional when processing WP dump

N-gram counting is the most expensive part of this, and is not
required for baseline entity linking.