diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-10-20 17:19:17 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-10-20 17:19:17 +0000 |
commit | 36faf01602d28d5bb5f030e0e03c8e7dd2078445 (patch) | |
tree | c95a40b3c22230dba9a1084411f69563463f9232 /word-aligner/ortho-norm/cz.pl | |
parent | 2a25585d238e06cda7fe049abfb13c5346cbec87 (diff) |
cz norm
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@685 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'word-aligner/ortho-norm/cz.pl')
-rwxr-xr-x | word-aligner/ortho-norm/cz.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/word-aligner/ortho-norm/cz.pl b/word-aligner/ortho-norm/cz.pl new file mode 100755 index 00000000..9d8bb07b --- /dev/null +++ b/word-aligner/ortho-norm/cz.pl @@ -0,0 +1,17 @@ +#!/usr/bin/perl -w +use strict; +use utf8; + +while(<STDIN>) { + $_ = lc $_; + s/ al-/ al/g; + s/^al-/al/; + s/j/i/g; + s/dž/j/g; + s/š/sh/g; + s/á/a/g; + s/č/ch/g; + s/í/i/g; + print; +} + |