nk2028 / yitizi

Input a Chinese character. Output all the variant characters of it.
Creative Commons Zero v1.0 Universal
18 stars 1 forks source link

Add a function to get the variants of an orthodox character #9

Open ayaka14732 opened 3 years ago

ayaka14732 commented 3 years ago

For example, currently yitizi.get('苧') yields ['苎', '薴']. However, if the input is guaranteed to be an orthodox character, the result can be limited to a list of a single character ['苎'].