Refactor code that extracts terms for relevance-ranking