spacy-wordnet
spacy-wordnet copied to clipboard
Question about synsets
I'm using Spacy Wordnet to find synonymous for words.
I would like to check if the synonym "exists" together with the words that are before and after.
For example: I want to {buy|acquire|bought} a car.
I would like to check if it was used in training or if there is a sequence internally in the spacy: 'want to buy a', 'want to acquire a' and 'want to bought a', and if possible how many times they were used. For example, in this case the synonym "bought" is bad, so it probably wouldn't be found once.
Do you know if this is possible with Spacy / Spacy Wordnet?