In the age of AI and automation, i assume there should be an automatic way of finding and adding synonyms, like to if i for instance have an excel or google sheets file with thousands of words, and i want to populate the cells next to it with synonyms of that word. Anyone has any idea of how to do this?
2 comments
You can access the MSWord thesaurus via VBA from Excel.
You could send request to the chatGPT api that batch groups of words in a csv file and ask it to return synonyms for each word, but given its potential to hallucinate, its nondeterministic answers and the fact that it is just wrong sometimes, I question whether the result would be of value.
A better way to go about it, without any need for AI, would be to use the Japanese wordnet to get synonyms for a word.
You can view information about the project and download the wordnet as an xml file here:
– [日本語 WordNet](https://bond-lab.github.io/wnja/index.ja.html)
You can see it in action here:
– [Japanese wordnet (1.1)](https://compling.upol.cz/ntumc/cgi-bin/wn-gridx.cgi?gridmode=wnja)
It wouldn’t be too difficult to automate that with a Python script, but you might need to consider that a word can have many senses, and each sense will have certain synonyms, so to provide all synonyms for a word in a column next to it in some sort of tabular form might actually be an awful way to view such information.