Find Synonyms
Find Synonyms
With this example program, you can find synonyms of Chinese words.
import synonyms
while True:
word = input(“Input a Chinese word:”)
nearby = synonyms.nearby(word)
print(nearby)
Note: This example program is translated from the Chinese version. You can try to compile an English one by using English APIs.