Text this: A Graph-Theoretic Framework for Semantic Distance