Install libpinyin-common-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpinyin-common-dev
library to deal with PinYin / zhuyin - common development files
libpinyin is a set of core algorithms designed for intelligent sentence-based Chinese PinYin / zhuyin input methods. . This package provides the common header files for both libpinyin and libzhuyin.