Add basic API for querying wordnet