|
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>Verdurian 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;
var V2E = true;
// 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(r) {
// Check to see if target search string is included
if (!keywordonly && target != "") {
if (r.toLowerCase().indexOf(target) == -1) return "";
}
if (r == "") return "";
parts = r.split(" - ");
var keyword = parts[0];
// Check search
if (keywordonly && keyword.toLowerCase().indexOf(target) == -1)
return "";
// Finish parsing
var pos = "";
var ent = "";
if (parts.length == 2)
ent = parts[1];
if (parts.length > 2) {
pos = parts[1];
ent = parts[2];
}
var t = "";
// Bold the headword
t = "<br>" + keyword.bold() + " - ";
// Repeat in Verdurian font
if (V2E) {
var native = keyword;
t += "<tt>" + native + "</tt> - ";
}
// Part of speech
if (pos != "") {
t += "<blu>" + pos + "</blu> - ";
}
// Italicize parentheticals
ent = ent.replace(/[(]/g, "<i>(");
ent = ent.replace(/[)]/g, ")</i>");
// Turn «x» into non-italicized parens
ent = ent.replace("«", "(");
ent = ent.replace("»", ")");
// Italicize bracketed material
ent = ent.replace(/[{]/g, "<i>");
ent = ent.replace(/[}]/g, "</i>");
t += ent;
// There may be a letter heading to add
if (hdr != "") {
if (target == "" && roots > 0)
t = t + hdr;
else
t = hdr + t;
hdr = "";
}
roots++;
return t;
}
// Generate the dictionary
function displayContents() {
var s;
var t = "";
var re = ""; // root entry
roots = 0;
hdr = "";
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];
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>";
}
}
}
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;
V2E = theform.dir[0].checked;
// Attempt to read the file
if (V2E)
reader.open('get', 'ver2eng.txt', true);
else
reader.open('get', 'eng2ver.txt', true);
reader.onreadystatechange = displayContents;
reader.send(null);
}
</script>
<H2>Verdurian Dictionary</H2>
<p><Input type = "radio" name="dir" checked>Verdurian to English</input>
<Input type ="radio" name="dir">English to Verdurian</input>
<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>
Abbreviations: v = verb, n = noun, intj = interjection, cj = conjunction, # = number, pr = pronoun, pp = preposition; m = masculine, f = feminine, dim. = diminutive
<br/>Meť = Meťaiun, Keb = Kebreni Dh = Dhekhnami, Ism. = Ismaîn, Xur. = Xurnese, Bar = Barakhinei
<br/>OV = Old Verdurian, EMV = Early Modern Verdurian (3480), MV = Modern Verdurian (3678), Er. = Erenei
</blockquote>
<p>For slang words use the Ver-Eng side and search for neutral terms ("girl" not "chick"). <i>(Slang)</i> marks EMV slang, 3678 terms are marked <i>(MV slang)</i>. A notation like <i>(slang or MV)</i> means that the word is slangy in 3480 but mainstream in 3678.
<p>© 1998-2025 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>