2
# test Japanese parsing
3
# this should work in the C locale
5
# you can also check out the tokens directly in a "kterm -km sjis".
10
prerequisite_command() {
11
type $2 2>&1 > /dev/null
13
echo "$1: $2 not found, test will be skipped"
18
prerequisite_command $0 grep
20
DBACL_PATH="`pwd`/`basename $0 .sh`_`date +"%Y%m%dT%H%M%S"`"
25
cat $DOCDIR/japanese.txt \
26
| $DBACL -l dummy -e cef
27
head -3 "$DBACL_PATH/dummy" \
28
| grep '# hash_size 15 features 8614 unique_features 523 documents 0' \
b'\\ No newline at end of file'