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