import nltk
from nltk.corpus import wordnet

# Download WordNet data (only once needed)
nltk.download('wordnet')
nltk.download('omw-1.4')

def describe_word(word):
    synsets = wordnet.synsets(word)
    synonyms = {lemma.name() for syn in synsets for lemma in syn.lemmas()}
    antonyms = {ant.name() for syn in synsets for lemma in syn.lemmas() for ant in lemma.antonyms()}
    hypernyms = {hyp.name().split('.')[0] for syn in synsets for hyp in syn.hypernyms()}
    hyponyms = {hyp.name().split('.')[0] for syn in synsets for hyp in syn.hyponyms()}
    
    print(f"Word: {word}")
    print(f"Synonyms: {synonyms}")
    print(f"Antonyms: {antonyms}")
    print(f"Hypernyms: {hypernyms}")
    print(f"Hyponyms: {hyponyms}")

# Example usage
describe_word("car")
