The org.thdl.tib.scanner.Manipulate class was originally meant as a grab-bag of methods processing strings representing tibetan wylie. It doesn't make sense to leave there the wrap-up methods for converting from and to the various transcription schemes. Moved them to BasicTibetanTranscriptionConverter and updated all classes that point to them.

This commit is contained in:
amontano 2006-04-24 19:19:04 +00:00
parent 67bddb7a7e
commit 0c891ec96c
8 changed files with 290 additions and 243 deletions

View file

@ -20,9 +20,6 @@ Contributor(s): ______________________________________.
to store the dictionary. */
package org.thdl.tib.scanner;
//import org.thdl.tib.text.TibetanHTML;
import org.thdl.tib.text.ttt.*;
/** Tibetan word with its corresponding definitions.
@author Andrés Montano Pellegrini
@ -62,7 +59,7 @@ public class SwingWord extends Word
try
{
// localWord = TibetanHTML.getHTML(super.token + " ");
localWord = Manipulate.UnicodeString2NCR(EwtsToUnicodeForXslt.convertEwtsTo(super.token + " "));
localWord = BasicTibetanTranscriptionConverter.wylieToHTMLUnicode(super.token + " ");
}
catch (Exception e)
{
@ -92,7 +89,7 @@ public class SwingWord extends Word
{
try
{
result = Manipulate.UnicodeString2NCR(EwtsToUnicodeForXslt.convertEwtsTo(localWord + " "));
result = BasicTibetanTranscriptionConverter.wylieToHTMLUnicode(localWord + " ");
className = " class = \"tib\"";
}
catch (Exception e)