How does WordNet work?