summaryrefslogtreecommitdiff
path: root/preprocess_no_lower
blob: 3a4d3588a560097eebb88942a0dcef389dfe5760 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

pushd `dirname $0` > /dev/null
P=`pwd -P`
popd > /dev/null

LANG=$1
$P/no_non_printables | sed "s|[-,\.]\{4,\}|...|g" | $P/htmlentities 2>htmlentities.$LANG.err | $P/normalize_punctuation 2>normalize-punctuation.$LANG.err | $P/tokenizer-no-escape.perl -a -b -threads 1 -l $LANG 2>tokenizer.$LANG.err