Word Sense Disambiguation and Named-Entity Disambiguation using graph-based algorithms