[sword-svn] r286 - trunk/source/data/translit/crosswire
chrislit at crosswire.org
chrislit at crosswire.org
Thu Feb 13 03:31:52 MST 2014
Author: chrislit
Date: 2014-02-13 03:31:52 -0700 (Thu, 13 Feb 2014)
New Revision: 286
Modified:
trunk/source/data/translit/crosswire/Greek_Latin_SBL.txt
Log:
updated, checked, tested Greek/SBL transliterator
Modified: trunk/source/data/translit/crosswire/Greek_Latin_SBL.txt
===================================================================
--- trunk/source/data/translit/crosswire/Greek_Latin_SBL.txt 2014-02-13 08:15:44 UTC (rev 285)
+++ trunk/source/data/translit/crosswire/Greek_Latin_SBL.txt 2014-02-13 10:31:52 UTC (rev 286)
@@ -12,141 +12,110 @@
# Greek-Latin/SBL
+:: [[:Greek:][̔ͅͺʽ·̓ʼ́´ˊ΄͂̂\^ˆ̀\`ˋ̈¨]];
:: NFD (NFC);
-$nasalGamma = [ΓΚΞΧγκξχ];
-$diphvowel = [αεηοΑΕΗΟ];
-$iota = [Ιι];
-$macron = ̄;
-
-# Completeness mappings
+# Completeness mappings from Latin
+|K<C}[^Hh];
+|k<c}[^h];
|PH<F;
-|I<J;
-|K<Q;
-|Y<V;
-|Y<W;
-|Y<U;
|ph<f;
+|I<J;
|i<j;
+|K<Q;
|k<q;
-|y<v;
-|y<w;
-|y<u;
+|U<[VW];
+|U<[vw];
-# Non-letter characters
-ͅ>;
-ͺ>;
-ʽ>;
-·>;
-̓>;
-ʼ>;
-́>;
-´>;
-ˊ>;
-΄>;
-͂>;
-̂>;
-'^'>;
-ˆ>;
-̀>;
-'`'>;
-ˋ>;
-̈>;
-¨>;
+# rough breathing
+|$1̔<H([:Lu:][:M:]*);
+|&Any-Upper($1)̔<H([:Ll:][:M:]*);
+|$1̔<h([:L:][:M:]*);
+([:Lu:][[:M:]-[̔]]*)̔}[:Lu:]>H|$1;
+([:Lu:][[:M:]-[̔]]*)̔>H|&Any-Lower($1);
+([:L:][[:M:]-[̔]]*)̔>h|$1;
-# titlecase digraphs
+# Non-letter characters are omit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