Fix gold generation and some speed.
Merge branch 'master' of github.com:srush/PhraseDep