Explorar o código

WIP use combined Unicode symbols.

scossu hai 1 ano
pai
achega
bc03f58bb8

+ 32 - 32
scriptshifter/tables/data/greek_classical.yml

@@ -25,13 +25,13 @@ script_to_roman:
       - "\u1F0A"
       - "\u1F0C"
     # Rough alpha
-    "\u03B1\u0314":
-      - "\u1F01"
+    "\u1F01":
+      - "\u03B1\u0314"
       - "\u1F03"
       - "\u1F05"
       - "\u1F07"
-    "\u0391\u0314":
-      - "\u1F09"
+    "\u1F09":
+      - "\u0391\u0314"
       - "\u1F0B"
       - "\u1F0D"
       - "\u1F0F"
@@ -47,12 +47,12 @@ script_to_roman:
       - "\u1F1A"
       - "\u1F1C"
     # Rough epsilon
-    "\u03B5\u0314":
-      - "\u1F11"
+      "\u1F11":
+      - "\u03B5\u0314"
       - "\u1F13"
       - "\u1F15"
-    "\u0395\u0314":
-      - "\u1F19"
+    "\u1F19":
+      - "\u0395\u0314":
       - "\u1F1B"
       - "\u1F1D"
     # Eta
@@ -69,13 +69,13 @@ script_to_roman:
       - "\u1F2C"
       - "\u1F2E"
     # Rough eta
-    "\u03B7\u0314":
-      - "\u1F21"
+    "\u1F21":
+      - "\u03B7\u0314"
       - "\u1F23"
       - "\u1F25"
       - "\u1F27"
-    "\u0397\u0314":
-      - "\u1F29"
+    "\u1F29":
+      - "\u0397\u0314"
       - "\u1F2B"
       - "\u1F2D"
       - "\u1F2F"
@@ -93,13 +93,13 @@ script_to_roman:
       - "\u1F3C"
       - "\u1F3E"
     # Rough iota
-    "\u03B9\u0314":
-      - "\u1F31"
+    "\u1F31":
+      - "\u03B9\u0314"
       - "\u1F33"
       - "\u1F35"
       - "\u1F37"
-    "\u0399\u0314":
-      - "\u1F39"
+    "\u1F39":
+      - "\u0399\u0314":
       - "\u1F3B"
       - "\u1F3D"
       - "\u1F3F"
@@ -116,22 +116,22 @@ script_to_roman:
       - "\u1F4A"
       - "\u1F4C"
     # Rough Omicron
-    "\u03BF\u0314":
-      - "\u1F41"
+    "\u1F41":
+      - "\u03BF\u0314"
       - "\u1F43"
       - "\u1F45"
-    "\u039F\u0314":
-      - "\u1F49"
+    "\u1F49":
+      - "\u039F\u0314"
       - "\u1F4B"
       - "\u1F4D"
     # Rho
     "\u03C1":
       - "\u1FE4"
-    "\u03C1\u0314":
-      - "\u1FE5"
     # Rough Rho
-    "\u03A1\u0314":
-      - "\u1FEC"
+    "\u1FE5":
+      - "\u03C1\u0314":
+    "\u1FEC":
+      - "\u03A1\u0314"
 
     # Upsilon
     "\u03C5":
@@ -146,13 +146,13 @@ script_to_roman:
     #"\u03A5":
         # NOTE: Capital upsilon + psili seems to be absent from Unicode table.
     # Rough Upsilon
-    "\u03C5\u0314":
-      - "\u1F51"
+    "\u1F51":
+      - "\u03C5\u0314"
       - "\u1F53"
       - "\u1F55"
       - "\u1F57"
-    "\u03A5\u0314":
-      - "\u1F59"
+    "\u1F59":
+      - "\u03A5\u0314"
       - "\u1F5B"
       - "\u1F5D"
       - "\u1F5F"
@@ -170,13 +170,13 @@ script_to_roman:
       - "\u1F6C"
       - "\u1F6E"
     # Rough omega
-    "\u03C9\u0314":
-      - "\u1F61"
+    "\u1F61":
+      - "\u03C9\u0314":
       - "\u1F63"
       - "\u1F65"
       - "\u1F67"
-    "\u03A9\u0314":
-      - "\u1F69"
+    "\u1F69":
+      - "\u03A9\u0314"
       - "\u1F6B"
       - "\u1F6D"
       - "\u1F6F"

+ 0 - 5
scriptshifter/tables/data/greek_modern.yml

@@ -4,11 +4,6 @@ general:
     - greek_classical
 
 script_to_roman:
-  hooks:
-    begin_input_token:
-      -
-        - greek.parse_numeral
-
   normalize:
     "\u03B1":
       - "\u03AC"