Function that wraps WordNet command