modify ltp-pan.c and compare.sh for flexible