summaryrefslogtreecommitdiff
path: root/corpus/tokenize-anything.sh
diff options
context:
space:
mode:
authorChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-11-11 16:12:39 -0500
committerChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-11-11 16:12:39 -0500
commitf83186887c94b2ff8b17aefcd0b395f116c09eb6 (patch)
treebc6891f12ef94b94793e7270bdffa208043cfeef /corpus/tokenize-anything.sh
parent7f9041447dcca317bae7663daebdf68bb7cccc2b (diff)
error on new macs
Diffstat (limited to 'corpus/tokenize-anything.sh')
-rwxr-xr-xcorpus/tokenize-anything.sh4
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;}'