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