Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upantonyms from wordnet #20
Conversation
|
This is AWESOME! Thanks, Mike! (@coolbutuseless) - this is cool AND useful! :) I'm really happy with this, we can improve upon this in the future. |
data-raw/generate-wordnet-antonyms.pydata-raw/create-r-antonyms-data.Rwords_antin the internal data for this packageant()andants()Unfortunately, there aren't really a lot of words in this antonym dataset i.e.
syn('good')has 667 resultsant('good')has 2 resultsHowever, if we first find the list of synonyms of 'good', and then find all the antonyms of everything in there, there are 268 antonyms i.e.
sort(unique(flatten_chr(ants(syn('good')))))This isn't perfect - somehow 'good' is in this list of antonyms for 'good'!
So for now, I've just included the wordnet antonyms as-is.
I've included the wordnet list as it is output by python (
data-raw/wordnet-antonyms-cleaned.txt), as it's probably unreasonable to expect anyone to regenerate this.