Move phrase expansion to end
Add word_threshold to trim candidates