larvitgeodata
Version:
Geo data, primarily ISO territories, languages etc. Data fetched mostly from CLDR.
26 lines (25 loc) • 1.3 kB
text/xml
<!--
Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<supplementalData>
<version number="$Revision: 11914 $"/>
<transforms>
<transform source="el" target="Title" direction="forward">
<comment># Copyright (C) 2011-2013, Google Inc. and others. All Rights Reserved.</comment>
<tRule>::NFD();</tRule>
<comment># Remove \0301 following Greek, with possible intervening 0308 marks.</comment>
<comment># [[:Greek:] & [:Ll:]] [\u0308]? { \u0301 → ;</comment>
<comment># Make any string of letters after a cased letter be lower, with rules for sigma</comment>
<tRule>[:cased:] [:case-ignorable:]* { Σ } [:case-ignorable:]* [:cased:] → σ;</tRule>
<tRule>[:cased:] [:case-ignorable:]* { Σ → ς;</tRule>
<tRule>[:cased:] [:case-ignorable:]* { (.) → &Any-Lower($1) ;</tRule>
<comment># Otherwise all lowercase go to upper (titlecase stay as is)</comment>
<tRule>([:Lowercase:]) → &Any-Title($1) ;</tRule>
<tRule>::NFC();</tRule>
</transform>
</transforms>
</supplementalData>