Pattern Abstraction and Term Similarity for Word Sense Disambiguation: IRST at Senseval-3