getwordfreq: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/getwordfreq - from package: sunpinyin-utils

You may install the required package with command apt-get install {package}
Error in other languages:
getwordfreq: bevel nie gevind nie
getwordfreq: comandă negăsită
getwordfreq: comando não encontrado
getwordfreq: commande introuvable
getwordfreq: command not found
getwordfreq: käsku ei ole
getwordfreq: không tìm thấy lệnh
getwordfreq: komanda nerasta
getwordfreq: Kommando nicht gefunden.
getwordfreq: kommandot finns inte
getwordfreq: komut yok
getwordfreq: nie znaleziono polecenia
getwordfreq: níor aimsíodh an t-ordú
getwordfreq: no se encontró la orden
getwordfreq: no s'ha trobat l'ordre
getwordfreq: opdracht niet gevonden
getwordfreq: parancs nem található
getwordfreq: perintah tidak ditemukan
getwordfreq: príkaz nenájdený
getwordfreq: příkaz nenalezen
getwordfreq: команда не найдена
getwordfreq: командата не е открита
getwordfreq: 命令找不到
getwordfreq: コマンドが見つかりません