python scripts for finding topic similarity