[sword-svn] r156 - in trunk/source/data/translit: . crosswire

chrislit at crosswire.org chrislit at crosswire.org
Fri Feb 6 15:15:00 MST 2009


Author: chrislit
Date: 2009-02-06 15:15:00 -0700 (Fri, 06 Feb 2009)
New Revision: 156

Added:
   trunk/source/data/translit/crosswire/Coptic_Latin_Beta.txt
Modified:
   trunk/source/data/translit/crosswire.txt
Log:
added Coptic-Latin transform for Beta encoding (using the disunified Coptic block)

Added: trunk/source/data/translit/crosswire/Coptic_Latin_Beta.txt
===================================================================
--- trunk/source/data/translit/crosswire/Coptic_Latin_Beta.txt	                        (rev 0)
+++ trunk/source/data/translit/crosswire/Coptic_Latin_Beta.txt	2009-02-06 22:15:00 UTC (rev 156)
@@ -0,0 +1,119 @@
+#---------------------------------------------------------------------
+# Copyright 2001-2009, CrossWire Bible Society (www.crosswire.org)
+# All rights reserved.  Usage permitted according to the MIT/X11
+# License: http://www.opensource.org/licenses/mit-license.php
+#---------------------------------------------------------------------
+# Based on Beta code for CCAT/CATSS/TLG:
+# http://ccat.sas.upenn.edu/gopher/text/religion/biblical/betacode.txt
+#---------------------------------------------------------------------
+
+# Coptic-Latin/Beta
+
+:: NFD (NFC);
+
+# Uppercase
+Ⲁ<>'*A';
+Ⲃ<>'*B';
+Ⲅ<>'*G';
+Ⲇ<>'*D';
+Ⲉ<>'*E';
+Ⲋ>''; # sou is non-alphabetic, and excluded from Beta
+Ⲍ<>'*Z';
+Ⲏ<>'*H';
+Ⲑ<>'*Q';
+Ⲓ<>'*I';
+Ⲕ<>'*K';
+Ⲗ<>'*L';
+Ⲙ<>'*M';
+Ⲛ<>'*N';
+Ⲝ<>'*C';
+Ⲟ<>'*O';
+Ⲫ<>'*F';
+Ⲯ<>'*Y';
+Ⲡ<>'*P';
+Ⲣ<>'*R';
+Ⲥ<'*J';
+Ⲥ<>'*S';
+Ⲧ<>'*T';
+Ⲩ<>'*U';
+Ⲭ<>'*X';
+Ⲱ<>'*W';
+Ϣ<>'*s';
+Ϥ<>'*f';
+Ϩ<>'*h';
+Ϫ<>'*j';
+Ϭ<>'*g';
+Ϯ<>'*t';
+
+# Archaic Greek (should not appear in Coptic)
+'Ϝ'<>'*V';
+'Ϟ'<>'*#3';
+'Ϡ'<>'*#5';
+
+# Lowercase
+ⲁ<>A;
+ⲃ<>B;
+ⲅ<>G;
+ⲇ<>D;
+ⲉ<>E;
+ⲋ>''; # sou is non-alphabetic, and excluded from Beta
+ⲍ<>Z;
+ⲏ<>H;
+ⲑ<>Q;
+ⲓ<>I;
+ⲕ<>K;
+ⲗ<>L;
+ⲙ<>M;
+ⲛ<>N;
+ⲝ<>C;
+ⲟ<>O;
+ⲫ<>F;
+ⲯ<>Y;
+ⲡ<>P;
+ⲣ<>R;
+ⲥ<J;
+ⲥ<>S;
+ⲧ<>T;
+ⲩ<>U;
+ⲭ<>X;
+ⲱ<>W;
+ϣ<>s;
+ϥ<>f;
+ϩ<>h;
+ϫ<>j;
+ϭ<>g;
+ϯ<>t;
+
+# Archaic Greek (should not appear in Coptic)
+ϝ<>V;
+ϟ<>'#3';
+ϡ<>'#5';
+
+# Non-letter characters, copied from Greek transform
+\u0345<>'|';
+\u037A>'|';
+\u0314<>'(';
+\u02BD>'(';
+\u0387<>':';
+\u0313<>')';
+\u02BC>')';
+\u0301<>'/';
+\u00B4>'/';
+\u02CA>'/';
+\u0384>'/';
+\u0342<>'=';
+\u0302>'=';
+'^'>'=';
+\u02C6>'=';
+\u0300<>'\\';
+'`'>'\\';
+\u02CB>'\\';
+\u0308<>'+';
+\u00A8>'+';
+
+\u0304<>'_';   # Perseus LSJ uses _ for long vowels
+
+# Coptic encoded in Beta (as opposed to Greek) is cased. Uppercase S maps to sigma, whereas lowercase s maps to shai. However, the 20 letters below do not have lower case values in Coptic Beta, so we uppercase them here.
+:: ([abcdeiklmnopqruvwxyz] upper);
+
+:: NFC (NFD);

Modified: trunk/source/data/translit/crosswire.txt
===================================================================
--- trunk/source/data/translit/crosswire.txt	2009-02-06 20:47:54 UTC (rev 155)
+++ trunk/source/data/translit/crosswire.txt	2009-02-06 22:15:00 UTC (rev 156)
@@ -173,18 +173,24 @@
                     direction{"REVERSE"}
             }
         }
+        Coptic-Latin/Beta {
+            file {
+                    resource:process(transliterator){"crosswire/Coptic_Latin_Beta.txt"}
+                    direction{"FORWARD"}
+            }
+        }
+        Latin-Coptic/Beta {
+            file {
+                    resource:process(transliterator){"crosswire/Coptic_Latin_Beta.txt"}
+                    direction{"REVERSE"}
+            }
+        }
         Coptic-Latin {
 	    alias {"Coptic-Latin/SBL"}
         }
         Latin-Coptic {
 	    alias {"Latin-Coptic/SBL"}
         }
-        Coptic-Latin/Beta {
-	    alias {"Greek-Latin/Beta"}
-        }
-        Latin-Coptic/Beta {
-	    alias {"Latin-Greek/Beta"}
-        }
         Coptic-Latin/TC {
 	    alias {"Greek-Latin/TC"}
         }




More information about the sword-cvs mailing list