Before make changes to scanner.py
Use word separate to pagerank, and cache pagerank result