-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecc0cc6
commit 79a733d
Showing
36 changed files
with
3,552 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<html> | ||
<head> | ||
<meta charset='utf-8'> | ||
<meta http-equiv='X-UA-Compatible' content='IE=edge'> | ||
<title>CyrAcademisator-RU – Dokumentation Deutsch</title> | ||
<meta name='author' content='Martin Podolak'> | ||
<meta name='description' content='Deutsche Dokumentation für CyrAcademisator-RU.'> | ||
<meta name='viewport' content='width=device-width, initial-scale=1'> | ||
</head> | ||
<body> | ||
<h3>Changelog</h3> | ||
<p><strong>2013/08/17</strong> Added <a href="http://irmologion.ru/ucsenc.html" target="_blank">Unified Church Slavonic</a> (UCS-8) as source</p> | ||
<p><strong>2013/08/16</strong> Added some text and transliteration examples to welcome page.</p> | ||
<p><strong>2013/08/15</strong> Added <a href="http://www.lcweb.loc.gov/catdir/cpso/romanization/churchsl.pdf">ALA-LC</a> and <a href="http://kids.informationsverbund.ch/kids_deutsch/kapg4.pdf">scientific</a> as sources (for conversion and reverse transliteration); adapt advanced settings in targets Russian (1700-1918), Scientific and ALA-LC to cases where source is ALA-LC or Scientific</p> | ||
<p><strong>2013/07/31</strong> New option for resolving titlo-abbreviations with the help of a word list (e.g. <em>чл҃к => человѣк</em>, 500 words); added option for determining й as weither <em>i kratkoe</em>, or<em> i with grave</em>.</p> | ||
<p><strong>2013/07/29</strong> Added <a href="http://www.orthlib.ru/hip/" target="_blank" title="Система обозначений для инвариантной транслитерации церковнославянского текста">Hyperinvariant Presentation (HIP)</a> format as source; New possibility for keeping stress marks only.</p> | ||
<p><strong>2013/07/25</strong> Added cleanup for letter-titlos (<a href="http://unicode.org/charts/PDF/U2DE0.pdf">Unicode Cyrillic Extended-A Codepage</a>); added missing characters (mostly from <a href="http://unicode.org/charts/PDF/UA640.pdf">Unicode Cyrillic Extended-B Codepage</a>); made kamora above n/r/l palatalised; added optional punctuation moderniser; optimised virtual keyboard.</p> | ||
<p><strong>2013/07/24</strong> Added optional cleanup for modifiers and accents - "delete diacritics".</p> | ||
<p><strong>2013/07/15</strong> Beta-Release</p> | ||
<p> </p> | ||
<h3>To-Do List</h3> | ||
<ul> | ||
<li>Add short introduction to welcome page</li> | ||
<li>Option for palatal n/r/l before vowel (ligature and i)</li> | ||
<li>Option for blended YUS</li> | ||
<li>Handle monoocular and binocular characters</li> | ||
<li>Other missing characters from chap. 3+4: Birnbaum, Everson et al. (2007). Proposal to encode additional Cyrillic characters in the BMP of the UCS</li> | ||
<li>UCS and HIP-format as targets (+option for keeping source formatting)</li> | ||
</ul> | ||
<p> </p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
$text = json_encode($text); | ||
$text = str_replace('\ua67d', '', $text); | ||
$text = str_replace('\ua67c', '', $text); | ||
$text = str_replace('\ua66f', '', $text); | ||
$text = str_replace('\u0483', '', $text); | ||
$text = str_replace('\u0485', '', $text); | ||
$text = str_replace('\u0486', '', $text); | ||
$text = str_replace('\u0487', '', $text); | ||
$text = str_replace('\u0484', '', $text); //kamora indicates palatalisation | ||
$text = str_replace('\u0306', '', $text); | ||
$text = str_replace('\u02D8', '', $text); | ||
$text = str_replace('\u0308', '', $text); | ||
$text = str_replace('\u2609', '', $text); | ||
$text = str_replace('\u0311', '', $text); | ||
$text = str_replace('\u0304', '', $text); | ||
$text = str_replace('\u0340', '', $text); | ||
$text = str_replace('\u0341', '', $text); | ||
$text = str_replace('\uA67E', '', $text); | ||
$text = str_replace('\u033E', '', $text); | ||
$text = str_replace('\u2E2F', '', $text); | ||
$text = str_replace('\uA67F', '', $text); | ||
$text = str_replace('\u0307', '', $text); | ||
$text = str_replace('\u1dc1', '', $text); | ||
$text = str_replace('\u1dc0', '', $text); | ||
$text = str_replace('\u030b', '', $text); | ||
$text = str_replace('\u030f', '', $text); | ||
$text = str_replace('\u0302', '', $text); | ||
$text = str_replace('\u1dc3', '', $text); | ||
$text = str_replace('\u033f', '', $text); | ||
$text = str_replace('\u035e', '', $text); | ||
$text = str_replace('\u0360', '', $text); | ||
$text = str_replace('\u1FFE', '', $text); | ||
|
||
if ($akzente_entfernen2 == "1") | ||
{ | ||
$text = str_replace('\u0301', '', $text); | ||
$text = str_replace('\u02CA', '', $text); | ||
$text = str_replace('\u00b4', '', $text); | ||
$text = str_replace('\u0300', '', $text); | ||
$text = str_replace('\u0060', '', $text); | ||
} | ||
|
||
if ($akzente_entfernen2 == "2" AND $_POST['zieltext'] == "ru_1700_1918") | ||
{ | ||
|
||
$text = str_replace('\u0300', '\u0301', $text); | ||
$text = str_replace('\u0060', '\u0301', $text); | ||
} | ||
$text = json_decode($text); | ||
|
||
$text = str_replace('῾', '', $text); | ||
$text = str_replace(' ', ' ', $text); | ||
$text = str_replace(' ', ' ', $text); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
<?php | ||
|
||
$alalc_cu = array( | ||
"A" => "А", | ||
"a" => "а", | ||
"B" => "Б", | ||
"b" => "б", | ||
"V" => "В", | ||
"v" => "в", | ||
"G" => "Г", | ||
"g" => "г", | ||
"D" => "Д", | ||
"d" => "д", | ||
"Ë" => "Ё", | ||
"ë" => "ё", | ||
"Zh" => "Ж", | ||
"zh" => "ж", | ||
"Ĭ" => "Й", | ||
"ĭ" => "й", | ||
"Ī" => "І", | ||
"ī" => "і", | ||
"Ǵ" => "ћ", | ||
"ǵ" => "Ћ", | ||
"K" => "К", | ||
"k" => "к", | ||
"L" => "Л", | ||
"l" => "л", | ||
"M" => "М", | ||
"m" => "м", | ||
"N" => "Н", | ||
"n" => "н", | ||
"ʺ" => "ъ", | ||
"Ō" => "Ѡ", | ||
"ō" => "ѡ", | ||
"Ō͡T" => "Ѿ", | ||
"ō͡t" => "ѿ", | ||
"P" => "П", | ||
"p" => "п", | ||
"R" => "Р", | ||
"r" => "р", | ||
"S" => "С", | ||
"s" => "с", | ||
"T" => "Т", | ||
"t" => "т", | ||
"Ū" => "Ꙋ", | ||
"ū" => "ꙋ", | ||
"F" => "Ф", | ||
"f" => "ф", | ||
"Kh" => "Х", | ||
"kh" => "х", | ||
"T͡S" => "Ц", | ||
"t͡s" => "ц", | ||
"Ch" => "Ч", | ||
"ch" => "ч", | ||
"Sh" => "Ш", | ||
"sh" => "ш", | ||
"ʹ" => "ь", | ||
"Ȳ" => "Ы", | ||
"ȳ" => "ы", | ||
"Y" => "Ꙑ", | ||
"y" => "ꙑ", | ||
"Ě" => "Ѣ", | ||
"ě" => "ѣ", | ||
"I͡Ě" => "Ꙓ", | ||
"i͡ě" => "ꙓ", | ||
"Ė" => "Э", | ||
"ė" => "э", | ||
"I͡U" => "Ю", | ||
"i͡u" => "ю", | ||
"Ǫ" => "Ѫ", | ||
"ǫ" => "ѫ", | ||
"I͡Ǫ" => "Ѭ", | ||
"i͡ǫ" => "ѭ", | ||
"I͡A" => "Ꙗ", | ||
"i͡a" => "ꙗ", | ||
"Ę" => "Ѧ", | ||
"ę" => "ѧ", | ||
"I͡Ę" => "Ѩ", | ||
"i͡ę" => "ѩ", | ||
"I͡E" => "Ѥ", | ||
"i͡e" => "ѥ", | ||
"K͡S" => "Ѯ", | ||
"k͡s" => "ѯ", | ||
"P͡S" => "Ѱ", | ||
"p͡s" => "ѱ", | ||
"I͡A" => "Я", | ||
"i͡a" => "я", | ||
"Ḟ" => "Ѳ", | ||
"ḟ" => "ѳ", | ||
"Θ" => "Ѳ", | ||
"θ" => "ѳ", | ||
"Th" => "Ѳ", | ||
"th" => "ѳ", | ||
"" => "Ѵ", | ||
"" => "ѵ", | ||
"Ẏ" => "Ѷ", | ||
"ẏ" => "ѷ", | ||
//"90" => "Ҁ", | ||
//"90" => "ҁ", | ||
"Nʹ" => "Н҄", | ||
"Rʹ" => "Р҄", | ||
"Lʹ" => "Л҄", | ||
"nʹ" => "н҄", | ||
"rʹ" => "р҄ ", | ||
"lʹ" => "л҄", | ||
); | ||
$text = strtr($text, $alalc_cu); | ||
|
||
|
||
if ($_POST['alalc_cu_e'] == "1") | ||
{ | ||
$alalc_cu_e = array( | ||
"E" => "Е", | ||
"e" => "е" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_e = array( | ||
"E" => "Є", | ||
"e" => "є" ); | ||
} | ||
$text = strtr($text, $alalc_cu_e); | ||
|
||
if ($_POST['alalc_cu_ze'] == "1") | ||
{ | ||
$alalc_cu_ze = array( | ||
"Z" => "Ꙁ", | ||
"z" => "ꙁ" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_ze = array( | ||
"Z" => "З", | ||
"z" => "з" ); | ||
} | ||
$text = strtr($text, $alalc_cu_ze); | ||
|
||
if ($_POST['alalc_cu_shch'] == "1") | ||
{ | ||
$alalc_cu_shch = array( | ||
"шч" => "щ", | ||
"Шч" => "Щ", | ||
"ШЧ" => "Щ" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_shch = array( | ||
"шт" => "щ", | ||
"Шт" => "Щ", | ||
"ШТ" => "Щ" ); | ||
} | ||
$text = strtr($text, $alalc_cu_shch); | ||
|
||
if ($_POST['alalc_cu_omega'] == "1") | ||
{ | ||
$alalc_cu_omega = array( | ||
"O" => "Ѻ", | ||
"o" => "ѻ" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_omega = array( | ||
"O" => "О", | ||
"o" => "о" ); | ||
} | ||
$text = strtr($text, $alalc_cu_omega); | ||
|
||
if ($_POST['alalc_cu_uk'] == "1") | ||
{ | ||
$alalc_cu_uk = array( | ||
"U" => "У", | ||
"u" => "у" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_uk = array( | ||
"U" => "Ѹ", | ||
"u" => "ѹ" ); | ||
} | ||
$text = strtr($text, $alalc_cu_uk); | ||
|
||
if ($_POST['alalc_cu_dze'] == "1") | ||
{ | ||
$alalc_cu_dze = array( | ||
"Ż" => "Ѕ", | ||
"ż" => "ѕ" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_dze = array( | ||
"Ż" => "Ꙃ", | ||
"ż" => "ꙃ" ); | ||
} | ||
$text = strtr($text, $alalc_cu_dze); | ||
|
||
if ($_POST['alalc_cu_i'] == "1") | ||
{ | ||
$alalc_cu_i = array( | ||
"I" => "Ї", | ||
"i" => "ї" ); | ||
} | ||
else | ||
{ | ||
$alalc_cu_i = array( | ||
"I" => "И", | ||
"i" => "и" ); | ||
} | ||
$text = strtr($text, $alalc_cu_i); | ||
|
||
$text = preg_replace('{Ъ$|Ъ\s}',' ', $text); | ||
$text = preg_replace('{ъ$|ъ\s}',' ', $text); | ||
|
||
if ($_POST['titlo'] == "2") | ||
{include ("titlo2.php");} | ||
elseif ($_POST['titlo'] == "1") | ||
{include ("titlo1.php");} | ||
elseif ($_POST['titlo'] == "0") | ||
{include ("titlo0.php");} | ||
if($_POST['zieltext'] == "isor9") | ||
{include ("cu-isor9.php");} | ||
if($_POST['zieltext'] == "ru_1700_1918") | ||
{include ("cu-ru_1700_1918.php");} | ||
?> |
Oops, something went wrong.