summaryrefslogtreecommitdiff
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
commit8a24bb77bc2e9fd17a6f6529a2942cde96a6af49 (patch)
treead97934518c68897291e43659eb141c0811015ca
parentae282ff1c3b9669496af3308e0f7889658f564cc (diff)
error on new macs
-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;}'