Fixed bugs in the scanner. Added reference to yogacara bhumi in the about window.
This commit is contained in:
parent
e89c49651c
commit
c8927b827c
2 changed files with 21 additions and 12 deletions
|
@ -504,17 +504,20 @@ public class BinaryFileGenerator extends SimplifiedLinkedList
|
|||
{
|
||||
s1 = deleteQuotes(entrada.substring(0,marker).trim());
|
||||
s2 = deleteQuotes(entrada.substring(marker+1).trim());
|
||||
marker2 = s1.indexOf(';');
|
||||
if (marker2>0)
|
||||
{
|
||||
alternateWords = Manipulate.parseFields(s1, ';');
|
||||
for (marker2=0; marker2<alternateWords.length; marker2++)
|
||||
{
|
||||
add(alternateWords[marker2],s2, defNum);
|
||||
if (!s2.equals(""))
|
||||
{
|
||||
marker2 = s1.indexOf(';');
|
||||
if (marker2>0)
|
||||
{
|
||||
alternateWords = Manipulate.parseFields(s1, ';');
|
||||
for (marker2=0; marker2<alternateWords.length; marker2++)
|
||||
{
|
||||
add(alternateWords[marker2],s2, defNum);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else add(s1, s2 , defNum);
|
||||
}
|
||||
else add(s1, s2 , defNum);
|
||||
}
|
||||
}
|
||||
currentLine++;
|
||||
|
@ -529,7 +532,7 @@ public class BinaryFileGenerator extends SimplifiedLinkedList
|
|||
BinaryFileGenerator ultimo;
|
||||
String firstSillable;
|
||||
int marker = word.indexOf(" "), comp;
|
||||
|
||||
|
||||
if (marker<0)
|
||||
firstSillable = word;
|
||||
else firstSillable = word.substring(0,marker);
|
||||
|
|
|
@ -32,13 +32,19 @@ public abstract class TibetanScanner
|
|||
"Warning: Since version 1.3.0. the dictionary database format changed and " +
|
||||
"is incompatible with previous versions. In order to use the newest version " +
|
||||
"you have to re-build the dictionary database.\n\n" +
|
||||
"The Tibetan to English Translation Tool, version 2.1.0\n" +
|
||||
"Copyright " + '\u00A9' + " 2000-2002 Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.\n\n" +
|
||||
"The Tibetan to English Translation Tool, version 2.1.0, compiled on " + ThdlVersion.getTimeOfCompilation() + ". " +
|
||||
"Copyright " + '\u00A9' + " 2000-2003 Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.\n\n" +
|
||||
"This software is protected by the terms of the AMP Open Community License, " +
|
||||
"Version 1.0 (available at www.tibet.iteso.mx/Guatemala/). The Tibetan script " +
|
||||
"input facility was built by THDL's Edward Garrett (http://www.thdl.org/).\n" +
|
||||
"It uses Tibetan Computer Company (http://www.tibet.dk/tcc/)fonts created by " +
|
||||
"Tony Duff and made available by the Trace Foundation (http://trace.org/).\n\n" +
|
||||
"About the Tibetan-Sanskrit Table of Buddhist Terminology based on the Yogacarabhumi:\n\n" +
|
||||
"The Tibetan-Sanskrit tab separated database file was extracted, converted, " +
|
||||
"filtered, and sorted by Richard B. Mahoney from YOKOYAMA, Koitsu & HIROSAWA, " +
|
||||
"Takayuki, eds., Index to the Yogacarabhumi (Chinese-Sanskrit-Tibetan) (Tokyo : " +
|
||||
"Sankibo Busshorin, 1996). See http://homepages.comnet.co.nz/~r-mahoney/links/links.html " +
|
||||
"for details.\n\n" +
|
||||
"About Rangjung Yeshe Tibetan-English Dharma Dictionary 3.0:\n\n" +
|
||||
"Copyright " + '\u00A9' + " Rangjung Yeshe Publications and the individual contributors.\n\n" +
|
||||
"The Rangjung Yeshe Tibetan-English Dharma Dictionary is specifically licensed to " +
|
||||
|
|
Loading…
Reference in a new issue