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