diff options
author | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-11-11 16:12:39 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-11-11 16:12:39 -0500 |
commit | f83186887c94b2ff8b17aefcd0b395f116c09eb6 (patch) | |
tree | bc6891f12ef94b94793e7270bdffa208043cfeef /corpus | |
parent | 7f9041447dcca317bae7663daebdf68bb7cccc2b (diff) |
error on new macs
Diffstat (limited to 'corpus')
-rwxr-xr-x | corpus/tokenize-anything.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/corpus/tokenize-anything.sh b/corpus/tokenize-anything.sh index fb038717..c7adfa61 100755 --- a/corpus/tokenize-anything.sh +++ b/corpus/tokenize-anything.sh @@ -12,8 +12,8 @@ fi $SUPPORT/utf8-normalize.sh $NORMARGS | $SUPPORT/quote-norm.pl | $SUPPORT/tokenizer.pl | - sed -u -e 's/ al - / al-/g' | + sed -e 's/ al - / al-/g' | $SUPPORT/fix-contract.pl | - sed -u -e 's/^ //' | sed -u -e 's/ $//' | + sed -e 's/^ //' | sed -e 's/ $//' | perl -e '$|++; while(<>){s/(\d+)(\.+)$/$1 ./; s/(\d+)(\.+) \|\|\|/$1 . |||/; print;}' |