Combine Text Ranking and Link Analysis

Initialize inverted lists and some useful helper functions