summaryrefslogtreecommitdiff
path: root/corpus/lowercase.pl
diff options
context:
space:
mode:
Diffstat (limited to 'corpus/lowercase.pl')
-rwxr-xr-xcorpus/lowercase.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/corpus/lowercase.pl b/corpus/lowercase.pl
new file mode 100755
index 00000000..9fd91dac
--- /dev/null
+++ b/corpus/lowercase.pl
@@ -0,0 +1,9 @@
+#!/usr/bin/perl -w
+use strict;
+binmode(STDIN,":utf8");
+binmode(STDOUT,":utf8");
+while(<STDIN>) {
+ $_ = lc $_;
+ print;
+}
+