Parallel Algorithms for Processing Massive Texts and Graphs