Sunday, February 6, 2022

'Love'

 Wordnet is a curated dictionary for use in AI. Using simple terms,it contains definitions 

and can output other links (synonym, antonym...) between words as well. It is

part of nltk and can be accessed with python. The course example, definitions from

the word 'city'. And because it is February, I made another request for the word 'love'.



Did have some touble getting this to work. One has to first go to the python interpreter

and:

 >>> import nltk

  >>> nltk.download('omw-1)

Then exit the interpreter with exit()

No comments: