|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/markrose/ |
Upload File : |
<HTML>
<meta http-equiv="content-type" content="text-html; charset=utf-8">
<HEAD>
<TITLE>Kebreni Dictionary</TITLE>
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
<style>
h1
{color:#000080;}
h2
{color:#000080;}
tt {
font-family: 'Verdurian';
font-size: 16px;
color:green;
}
blu
{color:blue;}
</style>
</HEAD>
<BODY BGCOLOR="#C0FFC0" TEXT="#000000">
<!-- Map for Languages -->
<MAP NAME="MetaTable">
<AREA COORDS="0,0,119,17" HREF="ethno.htm">
<!-- Color swatches -->
<AREA COORDS="0,18,17,30" HREF="eastern2.html">
<AREA COORDS="18,18,30,30" HREF="native.htm">
<AREA COORDS="31,18,43,30" HREF="verdurian.htm">
<AREA COORDS="44,18,56,30" HREF="ismain.htm">
<AREA COORDS="57,18,69,30" HREF="bara.htm">
<AREA COORDS="70,18,82,30" HREF="cuezi.htm">
<AREA COORDS="83,18,95,30" HREF="naviu.htm">
<AREA COORDS="96,18,108,30" HREF="axunashin.htm">
<AREA COORDS="109,18,121,30" HREF="xurnash.htm">
<AREA COORDS="122,18,134,30" HREF="chia.htm">
<AREA COORDS="135,18,147,30" HREF="kebreni.htm">
<AREA COORDS="148,18,160,30" HREF="wedei.html">
<AREA COORDS="161,18,173,30" HREF="dhekh.htm">
<AREA COORDS="174,18,186,30" HREF="lenani.htm">
<AREA COORDS="187,18,199,30" HREF="western.htm">
<AREA COORDS="200,18,212,30" HREF="elkaril.htm">
<AREA COORDS="213,18,225,30" HREF="flaidish.htm">
<!-- Intragroup nav -->
<AREA COORDS="120,0,230,17" HREF="verdurian.htm">
<AREA COORDS="231,0,272,17" HREF="phonology.htm">
<AREA COORDS="273,0,314,17" HREF="morphology.htm">
<AREA COORDS="315,0,358,17" HREF="syntax.htm">
<AREA COORDS="359,0,388,17" HREF="refs.htm">
<AREA COORDS="389,0,428,17" HREF="names.htm">
<AREA COORDS="231,18,286,30" HREF="thematic.htm">
<AREA COORDS="287,18,306,30" HREF="eng2ver.htm">
<AREA COORDS="307,18,324,30" HREF="ver2eng.htm">
<AREA COORDS="325,18,371,30" HREF="lessons.htm">
<AREA COORDS="372,18,428,30" HREF="vtexts.htm">
</map>
<!-- VV nav bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#007000"><td colspan=7 height="5">
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000">
<td width="20">
<td width="203" height="50" valign="middle"><a href="virtuver.htm"><img src="illo/vvbase.gif" alt="Virtual Verduria" width="201" height="16"></a>
<td width="77" align="center" valign="middle"><img src="illo/vvcrown.gif" width="36" height="21">
<td valign="middle" align="left">
<img src="illo/vvlgverd.gif" title="Language pages" width="428" height="36" usemap="#MetaTable">
</tr>
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000"><td colspan=7 height="5">
</table>
<form action="" method="POST" name="theform">
<script language="javascript" type="text/javascript">
var reader = new XMLHttpRequest() || new ActiveXObject('MSXML2.XMLHTTP');
var target = "";
var roots = 0;
var hdr = "";
var keywordonly;
// Does this line include the search string? -1 no, +1 yes
function matchSearch(s) {
// Check to see if target search string is included
if (s != "" && target != "") {
var keyword = s;
if (keywordonly) {
var tab = keyword.indexOf("\t");
if (tab > 0)
keyword = keyword.substr(0, tab);
}
if (keyword.toLowerCase().indexOf(target) == -1)
return -1;
}
return 1;
}
// Process a root
// Return blank if search is not met
function processroot(s, colz, ncol, checkTarget) {
// Failsafe
if (s == "") return "";
// Check to see if target search string is included
if (checkTarget) {
if (matchSearch(s, colz, ncol) == -1)
return "";
}
// Main formatting
var u = "<tr>";
for (j = 0; j < ncol; j++) {
u += "<td>";
if (j == 0) u += "<b>";
if (j == 1) u += "<blu>";
if (j == 2) u += "<i>";
u += colz[j];
if (j == 0) u += "</b>";
if (j == 1) u += "</blu>";
if (j == 2) u += "</i>";
u += "</td>";
if (j == 0) {
// Duplicate in Verdurian font
var native = colz[j];
u += "<td><tt>";
u += native;
u += "</tt></td>";
}
if (j == 3) {
u = u.replace(/[{]/g, "<i>");
u = u.replace(/[}]/g, "</i>");
}
}
u += "</tr>";
// Italicize parentheticals
u = u.replace(/[(]/g, "<i>(");
u = u.replace(/[)]/g, ")</i>");
roots++;
return u;
}
// Generate the dictionary
function displayContents() {
var s;
var t = "";
var re = ""; // root entry
roots = 0;
hdr = "";
var t = "<table>";
if(reader.readyState==4) {
var linez = reader.responseText.split("¶");
var ncat = linez.length;
var lastEntry = "";
var lastRootOK = false;
var resp = "";
for (w = 0; w < ncat; w++) {
s = linez[w];
if (s == "" || s.charAt(0) == ' ')
continue;
var colz = s.split("\t");
var ncol = colz.length;
if (ncol > 2) {
// Regular entry
var resp = processroot(s, colz, ncol, true);
t += resp;
lastEntry = s;
lastRootOK = (resp != "");
} else {
// Idiom
if (!lastRootOK && matchSearch(s, colz, ncol) == 1) {
// Retroactively include last root if idiom holds search string
var colz2 = lastEntry.split("\t");
var ncol2 = colz2.length;
t += processroot(lastEntry, colz2, ncol2, false);
lastRootOK = true;
}
if (lastRootOK) {
t += "<tr>";
var sp = s.indexOf(" ");
if (sp >= 0) {
// Idiom or sample sentence
t += "<td colspan='4'></td> <td>"
+ s.substr(0, sp).italics()
+ s.substr(sp + 1);
+ "</td>";
}
t += "</tr>";
}
}
var dash = s.indexOf(" - ");
if (s.charAt(0) == '/') {
// Heading
hdr = "<h2>" + s.charAt(1) + "</h2>";
} else if (dash >= 0) {
// Ordinary entry
t += processroot(re);
re = s;
} else {
var sp = s.indexOf(" ");
if (sp >= 0) {
// Idiom or sample sentence
re += "<br> "
+ s.substr(0, sp).italics()
+ s.substr(sp + 1);
} else {
// Other: error or special note
re += "<br><font color='red'>" + s.bold() + "</font>";
}
}
}
t += "</table>";
s = roots + " roots";
if (target != "")
s += "<br>target: " + target;
var el = document.getElementById('mytext');
el.innerHTML = s + "<p> " + t;
}
}
// Get the target and handle text substitutions
function dotarget() {
var s = theform.targ.value.toLowerCase();
var u = '';
var i;
for (i = 0; i < s.length; i++) {
if (s.charAt(i) == '\\' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'c') u += "č";
if (ch == 'd') u += "ď";
if (ch == 'h') u += "ȟ";
if (ch == 'r') u += "ř";
if (ch == 's') u += "š";
if (ch == 't') u += "ť";
if (ch == 'z') u += "ž";
if (ch == 'a') u += "ā";
if (ch == 'e') u += "ē";
if (ch == 'i') u += "ī";
if (ch == 'o') u += "ō";
if (ch == 'u') u += "ū";
} else if (s.charAt(i) == ':' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'a') u += "ä";
if (ch == 'e') u += "ë";
if (ch == 'i') u += "ï";
if (ch == 'o') u += "ö";
if (ch == 'u') u += "ü";
} else if (s.charAt(i) == '^' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'a') u += "â";
if (ch == 'e') u += "ê";
if (ch == 'i') u += "î";
if (ch == 'o') u += "ô";
if (ch == 'u') u += "û";
} else if (s.charAt(i) == '/' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'a') u += "á";
if (ch == 'e') u += "é";
if (ch == 'i') u += "í";
if (ch == 'o') u += "ó";
if (ch == 'u') u += "ú";
if (ch == 'h') u += "ḣ";
if (ch == 's') u += "ś";
if (ch == 'z') u += "ź";
} else
u += s.charAt(i);
}
target = u;
}
// User hit the action button. Make things happen!
function process()
{
dotarget();
keywordonly = theform.keyword.checked;
// Attempt to read the file
reader.open('get', 'kebren.txt', true);
reader.onreadystatechange = displayContents;
reader.send(null);
}
</script>
<H2>Kebreni Dictionary</H2>
<p><input type="button" value="List" onClick="process();">
- Only words containing <input type="text" name="targ"></input>
<input type="checkbox" name="keyword">In keyword only</input>
<hr>
<br><div id="mytext"><i>Press List already!</i></div>
<hr>
In the search box you can use /e for é, \e for ē, :e for ë, ^e for ê, /s for ś, /h for ḣ, \r for ř, and so on.
<p>Abbreviations:
<blockquote>
loc = locative verb, intj = interjection, cj = conjunction, # = number, pr = pronoun, pfx = prefix
<br/>CK = Classical Kebreni (3400s); MK = Modern Kebreni (3600s); Ś = Śaidahamin (3600s)
<br/>Meť = Meťaiun, Caď. = Caďinor, Ver. = Verdurian, Ism. = Ismaîn, Xur. = Xurnese, Bh. = Bhöɣetan, Ph. = Phrunaśan, Dh. = Dhekhnami
<br/>nomn. = nominalization, aug. = augmentative, dim. = diminutive.
</blockquote>
The first column gives the Kebreni word; the second repeats it in the Kebreni alphabet; the third is the Meťaiun etymon, if any.
<p>© 1998-2024 by Mark Rosenfelder.
<p>
<!-- VV nav bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#007000"><td colspan=7 height="5">
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000">
<td width="20">
<td width="203" height="50" valign="middle"><a href="virtuver.htm"><img src="illo/vvbase.gif" alt="Virtual Verduria" width="201" height="16"></a>
<td width="77" align="center" valign="middle"><img src="illo/vvcrown.gif" width="36" height="21">
<td valign="middle" align="left">
<img src="illo/vvlgverd.gif" title="Language pages" width="428" height="36" usemap="#MetaTable">
</tr>
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000"><td colspan=7 height="5">
</table>
</form>
</BODY></HTML>