lib/scripts/recode.pl
author blanchet
Thu, 22 Aug 2013 12:16:56 +0200
changeset 53141 d27e99a6a679
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
take chained and proximate facts into consideration when computing MaSh features

#
# Author: Makarius
#
# recode.pl - recode utf8 for ML
#

for (@ARGV) {
  utf8::upgrade($_);
  s/([\x80-\xff])/\\${\(ord($1))}/g;
  print $_, " ";
}