Since I had Eclipse fired up, I had it automatically organized the
imports. It made two errors, but the compiler found them. I've cvs tagged the tree before doing this, just in case.
This commit is contained in:
parent
6d419fe641
commit
8ccd68789a
69 changed files with 574 additions and 265 deletions
|
@ -18,15 +18,30 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Component;
|
||||||
import java.awt.event.*;
|
import java.awt.Dimension;
|
||||||
import java.io.*;
|
import java.awt.FlowLayout;
|
||||||
import java.util.*;
|
import java.awt.Frame;
|
||||||
import javax.swing.*;
|
import java.awt.GridLayout;
|
||||||
import javax.swing.event.*;
|
import java.awt.event.ActionEvent;
|
||||||
import javax.swing.filechooser.*;
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import javax.swing.Box;
|
||||||
|
import javax.swing.JButton;
|
||||||
|
import javax.swing.JCheckBox;
|
||||||
|
import javax.swing.JComboBox;
|
||||||
|
import javax.swing.JDialog;
|
||||||
|
import javax.swing.JFileChooser;
|
||||||
|
import javax.swing.JLabel;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
import javax.swing.JPanel;
|
||||||
|
import javax.swing.JTextField;
|
||||||
|
|
||||||
|
import org.thdl.util.ThdlActionListener;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
import org.thdl.util.ThdlVersion;
|
||||||
|
|
||||||
/** A GUI widget used to convert Tibetan documents from one encoding
|
/** A GUI widget used to convert Tibetan documents from one encoding
|
||||||
to another.
|
to another.
|
||||||
|
|
|
@ -18,13 +18,19 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.io.*;
|
|
||||||
|
|
||||||
import org.thdl.util.*;
|
|
||||||
import org.thdl.tib.text.*;
|
|
||||||
import javax.swing.JOptionPane;
|
|
||||||
import java.awt.Frame;
|
import java.awt.Frame;
|
||||||
import java.awt.Dialog;
|
import java.io.File;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
import org.thdl.util.ThdlLazyException;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** The ConverterGUI is a Swing GUI application. It is used for
|
/** The ConverterGUI is a Swing GUI application. It is used for
|
||||||
* converting TibetanMachine-, TibetanMachineWeb-, and THDL Extended
|
* converting TibetanMachine-, TibetanMachineWeb-, and THDL Extended
|
||||||
|
|
|
@ -18,22 +18,58 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.io.*;
|
import java.awt.Font;
|
||||||
import java.util.*;
|
import java.awt.datatransfer.Clipboard;
|
||||||
import java.awt.*;
|
import java.awt.datatransfer.ClipboardOwner;
|
||||||
import java.awt.datatransfer.*;
|
import java.awt.datatransfer.DataFlavor;
|
||||||
import java.awt.font.*;
|
import java.awt.datatransfer.StringSelection;
|
||||||
import java.awt.event.*;
|
import java.awt.datatransfer.Transferable;
|
||||||
import javax.swing.*;
|
import java.awt.datatransfer.UnsupportedFlavorException;
|
||||||
import javax.swing.text.*;
|
import java.awt.event.ActionEvent;
|
||||||
import javax.swing.event.*;
|
import java.awt.event.FocusEvent;
|
||||||
import javax.swing.text.rtf.*;
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.KeyAdapter;
|
||||||
|
import java.awt.event.KeyEvent;
|
||||||
|
import java.io.BufferedWriter;
|
||||||
|
import java.io.ByteArrayInputStream;
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
import java.io.OutputStreamWriter;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Hashtable;
|
||||||
|
import java.util.Iterator;
|
||||||
|
import java.util.LinkedList;
|
||||||
|
|
||||||
import org.thdl.tib.text.*;
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Action;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
import javax.swing.text.AttributeSet;
|
||||||
|
import javax.swing.text.BadLocationException;
|
||||||
|
import javax.swing.text.Caret;
|
||||||
|
import javax.swing.text.DefaultStyledDocument;
|
||||||
|
import javax.swing.text.JTextComponent;
|
||||||
|
import javax.swing.text.Keymap;
|
||||||
|
import javax.swing.text.MutableAttributeSet;
|
||||||
|
import javax.swing.text.Position;
|
||||||
|
import javax.swing.text.Style;
|
||||||
|
import javax.swing.text.StyleConstants;
|
||||||
|
import javax.swing.text.StyleContext;
|
||||||
|
import javax.swing.text.StyledDocument;
|
||||||
|
|
||||||
|
import org.thdl.tib.text.DuffCode;
|
||||||
|
import org.thdl.tib.text.DuffData;
|
||||||
|
import org.thdl.tib.text.InvalidTransliterationException;
|
||||||
|
import org.thdl.tib.text.THDLWylieConstants;
|
||||||
|
import org.thdl.tib.text.TibTextUtils;
|
||||||
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
|
import org.thdl.tib.text.TibetanKeyboard;
|
||||||
|
import org.thdl.tib.text.TibetanMachineWeb;
|
||||||
|
import org.thdl.util.RTFFixerInputStream;
|
||||||
|
import org.thdl.util.StatusBar;
|
||||||
import org.thdl.util.ThdlDebug;
|
import org.thdl.util.ThdlDebug;
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.util.ThdlOptions;
|
||||||
import org.thdl.util.StatusBar;
|
|
||||||
import org.thdl.util.RTFFixerInputStream;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables input of Tibetan text
|
* Enables input of Tibetan text
|
||||||
|
|
|
@ -18,7 +18,6 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author David Chandler
|
* @author David Chandler
|
||||||
|
|
|
@ -20,9 +20,6 @@ package org.thdl.tib.input;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import javax.swing.Action;
|
|
||||||
import javax.swing.KeyStroke;
|
|
||||||
|
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -18,8 +18,6 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.io.*;
|
|
||||||
import java.awt.*;
|
|
||||||
|
|
||||||
/** Constants used by ConvertDialog.
|
/** Constants used by ConvertDialog.
|
||||||
|
|
||||||
|
|
|
@ -18,13 +18,11 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.util.Vector;
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
|
import org.thdl.tib.text.TibetanMachineWeb;
|
||||||
import org.thdl.util.RTFPane;
|
import org.thdl.util.RTFPane;
|
||||||
import org.thdl.util.ThdlLazyException;
|
import org.thdl.util.ThdlLazyException;
|
||||||
import org.thdl.tib.text.TibetanMachineWeb;
|
|
||||||
import org.thdl.tib.input.DuffPane;
|
|
||||||
|
|
||||||
/** A JskadKeyboard is the high-level view of a Tibetan-input keyboard
|
/** A JskadKeyboard is the high-level view of a Tibetan-input keyboard
|
||||||
that Jskad has. Each keyboard is associated with a .ini file
|
that Jskad has. Each keyboard is associated with a .ini file
|
||||||
|
|
|
@ -20,8 +20,6 @@ package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import org.thdl.tib.input.JskadKeyboard;
|
|
||||||
import org.thdl.util.ThdlLazyException;
|
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** A JskadKeyboardFactory determines which Tibetan keyboards Jskad
|
/** A JskadKeyboardFactory determines which Tibetan keyboards Jskad
|
||||||
|
|
|
@ -20,8 +20,6 @@ package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
||||||
import org.thdl.tib.input.JskadKeyboard;
|
|
||||||
|
|
||||||
/** A JskadKeyboardManager maintains a list of JskadKeyboards.
|
/** A JskadKeyboardManager maintains a list of JskadKeyboards.
|
||||||
|
|
||||||
@author David Chandler
|
@author David Chandler
|
||||||
|
|
|
@ -18,8 +18,15 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import javax.swing.*;
|
import java.awt.Component;
|
||||||
import java.awt.*;
|
import java.awt.GraphicsEnvironment;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
|
||||||
|
import javax.swing.BorderFactory;
|
||||||
|
import javax.swing.JComboBox;
|
||||||
|
import javax.swing.JDialog;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
/** Shows a standard dialog window to set the preferences
|
/** Shows a standard dialog window to set the preferences
|
||||||
for the tibetan and roman script used
|
for the tibetan and roman script used
|
||||||
|
|
|
@ -18,10 +18,10 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import org.thdl.util.ThdlOptions;
|
|
||||||
|
|
||||||
import java.util.Vector;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** A database of the files most recently opened in Jskad. The client
|
/** A database of the files most recently opened in Jskad. The client
|
||||||
must call {@link #storeRecentlyOpenedFilePreferences()} before
|
must call {@link #storeRecentlyOpenedFilePreferences()} before
|
||||||
|
|
|
@ -18,16 +18,16 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.PrintStream;
|
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
|
|
||||||
import org.thdl.util.ThdlOptions;
|
|
||||||
import org.apache.commons.jrcs.tools.JDiff;
|
|
||||||
import org.apache.commons.jrcs.diff.Revision;
|
import org.apache.commons.jrcs.diff.Revision;
|
||||||
|
import org.apache.commons.jrcs.tools.JDiff;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author David Chandler
|
* @author David Chandler
|
||||||
|
|
|
@ -18,19 +18,28 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.BufferedWriter;
|
||||||
import javax.swing.text.rtf.RTFEditorKit;
|
import java.io.FileInputStream;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.io.OutputStreamWriter;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import javax.swing.text.SimpleAttributeSet;
|
import javax.swing.text.SimpleAttributeSet;
|
||||||
import javax.swing.text.StyleConstants;
|
import javax.swing.text.StyleConstants;
|
||||||
|
import javax.swing.text.rtf.RTFEditorKit;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
import org.thdl.tib.text.*;
|
|
||||||
|
|
||||||
import org.thdl.tib.text.ttt.TConverter;
|
|
||||||
import org.thdl.tib.text.ttt.ACIPTraits;
|
import org.thdl.tib.text.ttt.ACIPTraits;
|
||||||
import org.thdl.tib.text.ttt.EWTSTraits;
|
import org.thdl.tib.text.ttt.EWTSTraits;
|
||||||
|
import org.thdl.tib.text.ttt.TConverter;
|
||||||
import org.thdl.tib.text.ttt.TTraits;
|
import org.thdl.tib.text.ttt.TTraits;
|
||||||
import java.util.ArrayList;
|
import org.thdl.util.RTFFixerInputStream;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
import org.thdl.util.ThdlLazyException;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
import org.thdl.util.ThdlVersion;
|
||||||
|
|
||||||
/** TibetanConverter is a command-line utility for converting to and
|
/** TibetanConverter is a command-line utility for converting to and
|
||||||
* from Tibetan Machine Web (TMW). It converts TMW to Wylie, ACIP,
|
* from Tibetan Machine Web (TMW). It converts TMW to Wylie, ACIP,
|
||||||
|
|
|
@ -18,17 +18,13 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import java.io.*;
|
import java.awt.datatransfer.DataFlavor;
|
||||||
import java.util.*;
|
|
||||||
import java.awt.datatransfer.*;
|
|
||||||
import javax.swing.*;
|
|
||||||
import javax.swing.text.*;
|
|
||||||
import javax.swing.text.rtf.*;
|
|
||||||
|
|
||||||
import org.thdl.tib.text.*;
|
import javax.swing.JTextPane;
|
||||||
import org.thdl.util.ThdlDebug;
|
import javax.swing.text.rtf.RTFEditorKit;
|
||||||
import org.thdl.util.ThdlLazyException;
|
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
|
import org.thdl.tib.text.TibetanRTFEditorKit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables display of Tibetan text using Tibetan Computer Company's
|
* Enables display of Tibetan text using Tibetan Computer Company's
|
||||||
|
|
|
@ -18,7 +18,6 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.input;
|
package org.thdl.tib.input;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@author David Chandler
|
@author David Chandler
|
||||||
|
|
|
@ -18,9 +18,21 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Button;
|
||||||
import org.thdl.util.*;
|
import java.awt.Checkbox;
|
||||||
|
import java.awt.Dialog;
|
||||||
|
import java.awt.Dimension;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.TextArea;
|
||||||
|
import java.awt.Toolkit;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.WindowEvent;
|
||||||
|
import java.awt.event.WindowListener;
|
||||||
|
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Window that displays copyright stuff.
|
/** Window that displays copyright stuff.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.net.*;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
import java.net.URL;
|
||||||
|
|
||||||
class AcipToTab
|
class AcipToTab
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,8 +18,13 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.net.*;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
import java.net.URL;
|
||||||
|
|
||||||
/** Provides an interfase to convert from tibetan text transliterated in the Acip scheme to THDL's <a href="http://iris.lib.virginia.edu/tibet/tools/ewts.pdf" target="_blank">Extended Wylie</a> scheme.
|
/** Provides an interfase to convert from tibetan text transliterated in the Acip scheme to THDL's <a href="http://iris.lib.virginia.edu/tibet/tools/ewts.pdf" target="_blank">Extended Wylie</a> scheme.
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,18 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Color;
|
||||||
import javax.swing.table.TableCellRenderer;
|
import java.awt.Component;
|
||||||
import javax.swing.border.*;
|
|
||||||
import javax.swing.*;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import javax.swing.JComponent;
|
||||||
|
import javax.swing.JTable;
|
||||||
|
import javax.swing.JTextArea;
|
||||||
|
import javax.swing.UIManager;
|
||||||
|
import javax.swing.border.Border;
|
||||||
|
import javax.swing.border.EmptyBorder;
|
||||||
|
import javax.swing.table.TableCellRenderer;
|
||||||
|
|
||||||
/** Used by DictionaryTable to display multiple lines of
|
/** Used by DictionaryTable to display multiple lines of
|
||||||
text (in Roman script) in a single cell.
|
text (in Roman script) in a single cell.
|
||||||
|
|
||||||
|
|
|
@ -18,14 +18,32 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Frame;
|
||||||
import java.applet.Applet;
|
import java.awt.TextArea;
|
||||||
import javax.swing.*;
|
import java.awt.TextComponent;
|
||||||
|
import java.awt.Toolkit;
|
||||||
|
import java.awt.datatransfer.DataFlavor;
|
||||||
|
import java.awt.datatransfer.StringSelection;
|
||||||
|
import java.awt.datatransfer.Transferable;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.FocusEvent;
|
||||||
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
import java.awt.event.KeyEvent;
|
||||||
|
|
||||||
|
import javax.swing.JApplet;
|
||||||
|
import javax.swing.JCheckBoxMenuItem;
|
||||||
|
import javax.swing.JMenu;
|
||||||
|
import javax.swing.JMenuBar;
|
||||||
|
import javax.swing.JMenuItem;
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
import javax.swing.UIManager;
|
||||||
import javax.swing.text.JTextComponent;
|
import javax.swing.text.JTextComponent;
|
||||||
import java.awt.event.*;
|
|
||||||
import java.awt.datatransfer.*;
|
|
||||||
import org.thdl.tib.input.DuffPane;
|
import org.thdl.tib.input.DuffPane;
|
||||||
import org.thdl.util.*;
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Inputs a Tibetan text and displays the words with
|
/** Inputs a Tibetan text and displays the words with
|
||||||
their definitions through through a graphical interfase using a
|
their definitions through through a graphical interfase using a
|
||||||
|
|
|
@ -17,10 +17,15 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.RandomAccessFile;
|
||||||
|
|
||||||
|
import org.thdl.util.Link;
|
||||||
import org.thdl.util.SimplifiedLinkedList;
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
import org.thdl.util.SimplifiedListIterator;
|
import org.thdl.util.SimplifiedListIterator;
|
||||||
import org.thdl.util.Link;
|
|
||||||
|
|
||||||
|
|
||||||
/** Converts Tibetan dictionaries stored in text files
|
/** Converts Tibetan dictionaries stored in text files
|
||||||
|
|
|
@ -17,7 +17,9 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.DataInput;
|
||||||
|
import java.io.DataOutput;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
/** Specifies a subset of dictionaries among a set of
|
/** Specifies a subset of dictionaries among a set of
|
||||||
dictionaries. Supports a maximum of 30 dictionaries.
|
dictionaries. Supports a maximum of 30 dictionaries.
|
||||||
|
|
|
@ -17,7 +17,9 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.DataInput;
|
||||||
|
import java.io.DataOutput;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
/** Specifies a subset of dictionaries among a set of
|
/** Specifies a subset of dictionaries among a set of
|
||||||
dictionaries. Supports a maximum of 30 dictionaries.
|
dictionaries. Supports a maximum of 30 dictionaries.
|
||||||
|
|
|
@ -17,8 +17,8 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
import org.thdl.util.*;
|
import org.thdl.util.SimplifiedListIterator;
|
||||||
|
|
||||||
/** Provides recommended implementation of the {@link SyllableListTree}
|
/** Provides recommended implementation of the {@link SyllableListTree}
|
||||||
(currently most efficient memory-speed combination) loading
|
(currently most efficient memory-speed combination) loading
|
||||||
|
|
|
@ -17,10 +17,16 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import java.io.BufferedInputStream;
|
||||||
|
import java.io.BufferedReader;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
import java.net.URL;
|
||||||
|
|
||||||
import java.io.*;
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
import java.net.*;
|
import org.thdl.util.SimplifiedListIterator;
|
||||||
|
|
||||||
/** Inputs a Tibetan text and displays the words with their
|
/** Inputs a Tibetan text and displays the words with their
|
||||||
definitions through the console over a shell. Use when no
|
definitions through the console over a shell. Use when no
|
||||||
|
|
|
@ -1,11 +1,30 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Button;
|
||||||
import java.io.*;
|
import java.awt.Choice;
|
||||||
import org.thdl.util.*;
|
import java.awt.Dialog;
|
||||||
import org.thdl.tib.scanner.*;
|
import java.awt.FileDialog;
|
||||||
import javax.swing.*;
|
import java.awt.FlowLayout;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.List;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.TextField;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
import java.io.BufferedReader;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
|
||||||
|
import javax.swing.JFileChooser;
|
||||||
|
|
||||||
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
|
|
||||||
class CreateDatabaseWizard extends Dialog implements ActionListener, ItemListener
|
class CreateDatabaseWizard extends Dialog implements ActionListener, ItemListener
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.File;
|
||||||
import javax.swing.filechooser.*;
|
|
||||||
|
|
||||||
class DictionaryFileFilter extends javax.swing.filechooser.FileFilter
|
class DictionaryFileFilter extends javax.swing.filechooser.FileFilter
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,10 +17,12 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import javax.swing.event.*;
|
import java.awt.TextArea;
|
||||||
import javax.swing.*;
|
|
||||||
import java.awt.*;
|
import javax.swing.ListSelectionModel;
|
||||||
import javax.swing.table.*;
|
import javax.swing.event.ListSelectionEvent;
|
||||||
|
import javax.swing.event.ListSelectionListener;
|
||||||
|
import javax.swing.table.TableModel;
|
||||||
|
|
||||||
/** Used by the DictionaryTable to display the full definition
|
/** Used by the DictionaryTable to display the full definition
|
||||||
of Tibetan word displayed in a table when its row is clicked.
|
of Tibetan word displayed in a table when its row is clicked.
|
||||||
|
|
|
@ -17,7 +17,9 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
import java.io.*;
|
import java.io.DataInput;
|
||||||
|
import java.io.DataOutput;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
/** Specifies a generic interface to access and process a subset of
|
/** Specifies a generic interface to access and process a subset of
|
||||||
dictionaries among a set of dictionaries.
|
dictionaries among a set of dictionaries.
|
||||||
|
|
|
@ -17,10 +17,16 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import javax.swing.*;
|
import java.awt.Font;
|
||||||
import javax.swing.table.*;
|
import java.awt.FontMetrics;
|
||||||
import javax.swing.event.*;
|
import java.awt.TextArea;
|
||||||
import java.awt.*;
|
|
||||||
|
import javax.swing.JLabel;
|
||||||
|
import javax.swing.JTable;
|
||||||
|
import javax.swing.ListSelectionModel;
|
||||||
|
import javax.swing.table.TableCellRenderer;
|
||||||
|
import javax.swing.table.TableColumn;
|
||||||
|
import javax.swing.table.TableColumnModel;
|
||||||
|
|
||||||
/** Table of two columns that displays a Tibetan word or
|
/** Table of two columns that displays a Tibetan word or
|
||||||
phrase (in either Tibetan or Roman script) and the
|
phrase (in either Tibetan or Roman script) and the
|
||||||
|
|
|
@ -17,10 +17,10 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.table.AbstractTableModel;
|
||||||
import javax.swing.table.*;
|
|
||||||
import org.thdl.tib.text.TibTextUtils;
|
|
||||||
import org.thdl.tib.text.DuffData;
|
import org.thdl.tib.text.DuffData;
|
||||||
|
import org.thdl.tib.text.TibTextUtils;
|
||||||
|
|
||||||
/** Stores the words being displayed in a DictionaryTable.
|
/** Stores the words being displayed in a DictionaryTable.
|
||||||
|
|
||||||
|
|
|
@ -17,17 +17,21 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Color;
|
||||||
import javax.swing.*;
|
import java.awt.Component;
|
||||||
import javax.swing.table.TableCellRenderer;
|
|
||||||
import javax.swing.border.*;
|
|
||||||
import javax.swing.text.*;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import javax.swing.JComponent;
|
||||||
|
import javax.swing.JTable;
|
||||||
|
import javax.swing.UIManager;
|
||||||
|
import javax.swing.border.Border;
|
||||||
|
import javax.swing.border.EmptyBorder;
|
||||||
|
import javax.swing.table.TableCellRenderer;
|
||||||
|
|
||||||
import org.thdl.tib.input.DuffPane;
|
import org.thdl.tib.input.DuffPane;
|
||||||
import org.thdl.util.ThdlDebug;
|
|
||||||
import org.thdl.tib.text.*;
|
|
||||||
import org.thdl.tib.text.DuffData;
|
import org.thdl.tib.text.DuffData;
|
||||||
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
|
||||||
/** Used by DictionaryTable to display a Tibetan word or phrase
|
/** Used by DictionaryTable to display a Tibetan word or phrase
|
||||||
(in either Roman or Tibetan script) in a single cell.
|
(in either Roman or Tibetan script) in a single cell.
|
||||||
|
|
|
@ -17,13 +17,30 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.CardLayout;
|
||||||
import javax.swing.*;
|
import java.awt.Choice;
|
||||||
import javax.swing.event.*;
|
import java.awt.FlowLayout;
|
||||||
import javax.swing.table.*;
|
import java.awt.Font;
|
||||||
import org.thdl.tib.input.*;
|
import java.awt.Frame;
|
||||||
import org.thdl.util.*;
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.TextArea;
|
||||||
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
|
||||||
|
import javax.swing.JPanel;
|
||||||
|
import javax.swing.JScrollPane;
|
||||||
|
import javax.swing.event.TableModelEvent;
|
||||||
|
|
||||||
|
import org.thdl.tib.input.DuffPane;
|
||||||
|
import org.thdl.tib.input.JskadKeyboardFactory;
|
||||||
|
import org.thdl.tib.input.JskadKeyboardManager;
|
||||||
|
import org.thdl.tib.input.PreferenceWindow;
|
||||||
|
import org.thdl.util.ThdlLazyException;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Graphical interfase to be used by applications and applets
|
/** Graphical interfase to be used by applications and applets
|
||||||
to input a Tibetan text (in Roman or Tibetan script) and
|
to input a Tibetan text (in Roman or Tibetan script) and
|
||||||
|
|
|
@ -17,8 +17,12 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
import org.thdl.util.*;
|
import java.io.FileInputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.RandomAccessFile;
|
||||||
|
|
||||||
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
|
|
||||||
/** Searches the words directly in a file; not the preferred
|
/** Searches the words directly in a file; not the preferred
|
||||||
implementation. The search is too slow!
|
implementation. The search is too slow!
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.net.*;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
import java.net.URL;
|
||||||
|
|
||||||
class FilterHTMLDictionary
|
class FilterHTMLDictionary
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,10 +17,8 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
import org.thdl.util.*;
|
|
||||||
import java.io.*;
|
|
||||||
import java.util.Vector;
|
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
/** Loads dictionary stored in tree format and searches for words recursively.
|
/** Loads dictionary stored in tree format and searches for words recursively.
|
||||||
How the the dictionary is loaded depends on which implementation of
|
How the the dictionary is loaded depends on which implementation of
|
||||||
|
|
|
@ -18,9 +18,13 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import java.io.BufferedReader;
|
||||||
import java.util.*;
|
import java.io.FileInputStream;
|
||||||
import java.io.*;
|
import java.io.InputStreamReader;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
|
import org.thdl.util.SimplifiedListIterator;
|
||||||
|
|
||||||
/** Loads the whole dictionary into memory; not the preferred
|
/** Loads the whole dictionary into memory; not the preferred
|
||||||
implementation. Provides the fastest search, but takes up to
|
implementation. Provides the fastest search, but takes up to
|
||||||
|
|
|
@ -18,14 +18,15 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import java.io.PrintWriter;
|
||||||
import org.thdl.tib.text.TibetanHTML;
|
import java.util.MissingResourceException;
|
||||||
import java.util.*;
|
import java.util.ResourceBundle;
|
||||||
import java.io.*;
|
|
||||||
import java.text.*;
|
import javax.servlet.http.HttpServlet;
|
||||||
import java.util.*;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.*;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import javax.servlet.http.*;
|
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Interfase to provide access to an on-line dictionary through a form in html;
|
/** Interfase to provide access to an on-line dictionary through a form in html;
|
||||||
Inputs Tibetan text (Roman script only) and displays the
|
Inputs Tibetan text (Roman script only) and displays the
|
||||||
|
|
|
@ -18,8 +18,22 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Button;
|
||||||
|
import java.awt.Choice;
|
||||||
|
import java.awt.Dialog;
|
||||||
|
import java.awt.Dimension;
|
||||||
|
import java.awt.FlowLayout;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.GraphicsEnvironment;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.Toolkit;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
|
||||||
class PocketPreferenceWindow extends Dialog implements ActionListener, ItemListener
|
class PocketPreferenceWindow extends Dialog implements ActionListener, ItemListener
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,19 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Checkbox;
|
||||||
import java.awt.image.*;
|
import java.awt.CheckboxGroup;
|
||||||
import java.io.*;
|
import java.awt.Choice;
|
||||||
|
import java.awt.Dimension;
|
||||||
|
import java.awt.FileDialog;
|
||||||
|
import java.awt.FlowLayout;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.Toolkit;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
|
||||||
/** provides a friendly user interface when the command-line
|
/** provides a friendly user interface when the command-line
|
||||||
is not used for choosing a dictionary or connection to open.
|
is not used for choosing a dictionary or connection to open.
|
||||||
|
|
|
@ -18,13 +18,24 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.CheckboxMenuItem;
|
||||||
import java.util.*;
|
import java.awt.Color;
|
||||||
import java.io.*;
|
import java.awt.Dimension;
|
||||||
import java.awt.event.*;
|
import java.awt.Frame;
|
||||||
import java.awt.*;
|
import java.awt.GridLayout;
|
||||||
import java.awt.datatransfer.*;
|
import java.awt.Menu;
|
||||||
import org.thdl.util.*;
|
import java.awt.MenuBar;
|
||||||
|
import java.awt.MenuItem;
|
||||||
|
import java.awt.TextArea;
|
||||||
|
import java.awt.TextComponent;
|
||||||
|
import java.awt.Toolkit;
|
||||||
|
import java.awt.datatransfer.DataFlavor;
|
||||||
|
import java.awt.datatransfer.StringSelection;
|
||||||
|
import java.awt.datatransfer.Transferable;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.FocusEvent;
|
||||||
|
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Provides a graphical interfase to input Tibetan text (in Roman script)
|
/** Provides a graphical interfase to input Tibetan text (in Roman script)
|
||||||
and displays the words (in Roman script) with their definitions. Use
|
and displays the words (in Roman script) with their definitions. Use
|
||||||
|
|
|
@ -17,13 +17,14 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import java.io.BufferedReader;
|
||||||
import java.util.*;
|
import java.io.InputStreamReader;
|
||||||
import java.io.*;
|
import java.io.PrintWriter;
|
||||||
import java.text.*;
|
import java.util.ResourceBundle;
|
||||||
import java.util.*;
|
|
||||||
import javax.servlet.*;
|
import javax.servlet.GenericServlet;
|
||||||
import javax.servlet.http.*;
|
import javax.servlet.ServletRequest;
|
||||||
|
import javax.servlet.ServletResponse;
|
||||||
|
|
||||||
/** Running on the server, receives the tibetan text from applet/applications running on
|
/** Running on the server, receives the tibetan text from applet/applications running on
|
||||||
the client and sends them the words with their definitions through the Internet.
|
the client and sends them the words with their definitions through the Internet.
|
||||||
|
|
|
@ -17,9 +17,14 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import org.thdl.util.*;
|
import java.io.BufferedReader;
|
||||||
import java.net.*;
|
import java.io.InputStreamReader;
|
||||||
import java.io.*;
|
import java.io.OutputStream;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
import java.net.URL;
|
||||||
|
import java.net.URLConnection;
|
||||||
|
|
||||||
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
|
|
||||||
/** Used by applets and applications to access remote on-line dictionaries.
|
/** Used by applets and applications to access remote on-line dictionaries.
|
||||||
Sends Tibetan text, and receives the words with their definitions. The
|
Sends Tibetan text, and receives the words with their definitions. The
|
||||||
|
|
|
@ -17,8 +17,10 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.FileOutputStream;
|
||||||
import java.util.*;
|
import java.io.PrintStream;
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.ResourceBundle;
|
||||||
|
|
||||||
/** Designed to keep a log of the transactions taking place in the
|
/** Designed to keep a log of the transactions taking place in the
|
||||||
servlet version of the translation tool.
|
servlet version of the translation tool.
|
||||||
|
|
|
@ -17,9 +17,17 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Button;
|
||||||
import java.io.*;
|
import java.awt.Checkbox;
|
||||||
|
import java.awt.FlowLayout;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.FocusListener;
|
||||||
|
|
||||||
/** Graphical interfase to be used by applications and
|
/** Graphical interfase to be used by applications and
|
||||||
applets to input a Tibetan text and displays the words with
|
applets to input a Tibetan text and displays the words with
|
||||||
|
|
|
@ -17,8 +17,17 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.CardLayout;
|
||||||
|
import java.awt.Font;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.List;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.TextArea;
|
||||||
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
|
||||||
/** A non-Swing graphical interfase to be used by applications
|
/** A non-Swing graphical interfase to be used by applications
|
||||||
running on platforms that don't support Swing,
|
running on platforms that don't support Swing,
|
||||||
|
|
|
@ -18,14 +18,20 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.datatransfer.*;
|
import java.awt.datatransfer.DataFlavor;
|
||||||
import java.io.*;
|
import java.awt.datatransfer.Transferable;
|
||||||
import javax.swing.*;
|
import java.awt.datatransfer.UnsupportedFlavorException;
|
||||||
import javax.swing.text.*;
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
|
||||||
import org.thdl.tib.input.*;
|
import javax.swing.text.AttributeSet;
|
||||||
import org.thdl.tib.text.*;
|
import javax.swing.text.BadLocationException;
|
||||||
import org.thdl.util.*;
|
|
||||||
|
import org.thdl.tib.input.DuffPane;
|
||||||
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
|
import org.thdl.util.RTFFixerInputStream;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Identical to DuffPane except that it only supports Tibetan script in
|
/** Identical to DuffPane except that it only supports Tibetan script in
|
||||||
TibetanMachineWeb. No roman script can be inputted. If roman script is
|
TibetanMachineWeb. No roman script can be inputted. If roman script is
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Checkbox;
|
||||||
import java.awt.image.*;
|
import java.awt.CheckboxGroup;
|
||||||
import java.io.*;
|
import java.awt.Choice;
|
||||||
import javax.swing.*;
|
import java.awt.FileDialog;
|
||||||
|
import java.awt.FlowLayout;
|
||||||
|
import java.awt.Frame;
|
||||||
|
import java.awt.GridLayout;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.Panel;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
|
||||||
|
import javax.swing.JFileChooser;
|
||||||
|
|
||||||
/** provides a friendly user interface when the command-line
|
/** provides a friendly user interface when the command-line
|
||||||
is not used for choosing a dictionary or connection to open.
|
is not used for choosing a dictionary or connection to open.
|
||||||
|
|
|
@ -18,14 +18,31 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Color;
|
||||||
import java.io.*;
|
import java.awt.Dimension;
|
||||||
import java.awt.event.*;
|
import java.awt.Frame;
|
||||||
import java.awt.datatransfer.*;
|
import java.awt.GridLayout;
|
||||||
import javax.swing.text.*;
|
import java.awt.Menu;
|
||||||
import javax.swing.*;
|
import java.awt.MenuBar;
|
||||||
import org.thdl.tib.input.*;
|
import java.awt.MenuItem;
|
||||||
import org.thdl.util.*;
|
import java.awt.TextArea;
|
||||||
|
import java.awt.TextComponent;
|
||||||
|
import java.awt.Toolkit;
|
||||||
|
import java.awt.datatransfer.DataFlavor;
|
||||||
|
import java.awt.datatransfer.StringSelection;
|
||||||
|
import java.awt.datatransfer.Transferable;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.FocusEvent;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
import javax.swing.text.JTextComponent;
|
||||||
|
|
||||||
|
import org.thdl.tib.input.DuffPane;
|
||||||
|
import org.thdl.tib.input.JskadKeyboard;
|
||||||
|
import org.thdl.util.SimpleFrame;
|
||||||
|
import org.thdl.util.ThdlActionListener;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Provides a graphical interfase to input Tibetan text (Roman or
|
/** Provides a graphical interfase to input Tibetan text (Roman or
|
||||||
Tibetan script) and displays the words (Roman or Tibetan script)
|
Tibetan script) and displays the words (Roman or Tibetan script)
|
||||||
|
|
|
@ -17,7 +17,9 @@ Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
import org.thdl.util.*;
|
import org.thdl.util.SimplifiedLinkedList;
|
||||||
|
import org.thdl.util.SimplifiedListIterator;
|
||||||
|
import org.thdl.util.ThdlVersion;
|
||||||
|
|
||||||
/** Defines the core methods required to provide access to a dictionary; local or remote.
|
/** Defines the core methods required to provide access to a dictionary; local or remote.
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Button;
|
||||||
import java.awt.event.*;
|
import java.awt.Checkbox;
|
||||||
import java.awt.image.*;
|
import java.awt.Choice;
|
||||||
import java.io.*;
|
import java.awt.Dialog;
|
||||||
import javax.swing.*;
|
import java.awt.Frame;
|
||||||
|
import java.awt.Label;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
|
||||||
/** provides a friendly user interface when the command-line
|
/** provides a friendly user interface when the command-line
|
||||||
is not used for choosing a dictionary or connection to open.
|
is not used for choosing a dictionary or connection to open.
|
||||||
|
|
|
@ -18,9 +18,20 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.scanner;
|
package org.thdl.tib.scanner;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.CheckboxMenuItem;
|
||||||
import java.awt.event.*;
|
import java.awt.Font;
|
||||||
import org.thdl.util.*;
|
import java.awt.Frame;
|
||||||
|
import java.awt.MenuItem;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.FocusEvent;
|
||||||
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
import java.awt.event.WindowEvent;
|
||||||
|
import java.awt.event.WindowListener;
|
||||||
|
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Provides a graphical interfase to input Tibetan text (Roman or
|
/** Provides a graphical interfase to input Tibetan text (Roman or
|
||||||
Tibetan script) and displays the words (Roman or Tibetan script)
|
Tibetan script) and displays the words (Roman or Tibetan script)
|
||||||
|
|
|
@ -18,18 +18,19 @@ Contributor(s): Edward Garrett.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Color;
|
||||||
import javax.swing.*;
|
import java.awt.Component;
|
||||||
import javax.swing.table.TableCellRenderer;
|
|
||||||
import javax.swing.border.*;
|
|
||||||
import javax.swing.text.*;
|
|
||||||
import org.thdl.tib.input.DuffPane;
|
|
||||||
import org.thdl.tib.text.*;
|
|
||||||
import org.thdl.tib.text.DuffData;
|
|
||||||
import org.thdl.util.ThdlDebug;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import javax.swing.JComponent;
|
||||||
|
import javax.swing.JTable;
|
||||||
|
import javax.swing.UIManager;
|
||||||
|
import javax.swing.border.Border;
|
||||||
|
import javax.swing.border.EmptyBorder;
|
||||||
|
import javax.swing.table.TableCellRenderer;
|
||||||
|
|
||||||
|
import org.thdl.tib.input.DuffPane;
|
||||||
|
|
||||||
/** Used by DictionaryTable to display a Tibetan word or phrase
|
/** Used by DictionaryTable to display a Tibetan word or phrase
|
||||||
(in either Roman or Tibetan script) in a single cell.
|
(in either Roman or Tibetan script) in a single cell.
|
||||||
|
|
||||||
|
|
|
@ -18,20 +18,20 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import java.util.*;
|
import java.io.IOException;
|
||||||
import javax.swing.*;
|
import java.util.ArrayList;
|
||||||
import javax.swing.text.*;
|
import java.util.Iterator;
|
||||||
import javax.swing.text.rtf.RTFEditorKit;
|
import java.util.LinkedList;
|
||||||
import java.io.*;
|
import java.util.List;
|
||||||
|
|
||||||
import org.thdl.util.ThdlDebug;
|
|
||||||
import org.thdl.tib.text.ttt.TTraits;
|
|
||||||
import org.thdl.tib.text.ttt.ACIPTraits;
|
|
||||||
import org.thdl.tib.text.ttt.EWTSTraits;
|
|
||||||
import org.thdl.tib.text.ttt.TConverter;
|
|
||||||
import org.thdl.tib.text.tshegbar.LegalTshegBar;
|
import org.thdl.tib.text.tshegbar.LegalTshegBar;
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeConstants;
|
import org.thdl.tib.text.tshegbar.UnicodeConstants;
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
||||||
|
import org.thdl.tib.text.ttt.ACIPTraits;
|
||||||
|
import org.thdl.tib.text.ttt.EWTSTraits;
|
||||||
|
import org.thdl.tib.text.ttt.TConverter;
|
||||||
|
import org.thdl.tib.text.ttt.TTraits;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides methods for converting back and forth between Extended
|
* Provides methods for converting back and forth between Extended
|
||||||
|
|
|
@ -18,17 +18,30 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import java.util.*;
|
|
||||||
import javax.swing.*;
|
|
||||||
import javax.swing.text.*;
|
|
||||||
import javax.swing.text.rtf.RTFEditorKit;
|
|
||||||
import java.io.*;
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
import java.io.BufferedWriter;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
import javax.swing.text.AbstractDocument;
|
||||||
|
import javax.swing.text.AttributeSet;
|
||||||
|
import javax.swing.text.BadLocationException;
|
||||||
|
import javax.swing.text.DefaultStyledDocument;
|
||||||
|
import javax.swing.text.Element;
|
||||||
|
import javax.swing.text.MutableAttributeSet;
|
||||||
|
import javax.swing.text.Position;
|
||||||
|
import javax.swing.text.SimpleAttributeSet;
|
||||||
|
import javax.swing.text.StyleConstants;
|
||||||
|
import javax.swing.text.StyleContext;
|
||||||
|
import javax.swing.text.rtf.RTFEditorKit;
|
||||||
|
|
||||||
import org.thdl.util.ThdlDebug;
|
|
||||||
import org.thdl.util.ThdlOptions;
|
|
||||||
import org.thdl.util.ThdlLazyException;
|
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
import org.thdl.util.ThdlLazyException;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Represents a character meant to be rendered in a certain font.
|
/** Represents a character meant to be rendered in a certain font.
|
||||||
* @author David Chandler
|
* @author David Chandler
|
||||||
|
|
|
@ -18,10 +18,12 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import java.util.*;
|
import java.io.BufferedReader;
|
||||||
import java.io.*;
|
import java.io.InputStreamReader;
|
||||||
import java.lang.*;
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.StringTokenizer;
|
||||||
|
|
||||||
import org.thdl.util.Trie;
|
import org.thdl.util.Trie;
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,10 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.text.Element;
|
||||||
import javax.swing.text.*;
|
import javax.swing.text.LabelView;
|
||||||
|
import javax.swing.text.Segment;
|
||||||
|
import javax.swing.text.View;
|
||||||
|
|
||||||
/** A TibetanLabelView is a LabelView that has its own idea, informed
|
/** A TibetanLabelView is a LabelView that has its own idea, informed
|
||||||
* by its knowledge of Tibetan, about where a good place to break
|
* by its knowledge of Tibetan, about where a good place to break
|
||||||
|
|
|
@ -19,20 +19,26 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import java.util.*;
|
|
||||||
import java.net.URL;
|
|
||||||
import java.io.*;
|
|
||||||
import java.lang.*;
|
|
||||||
import java.awt.Font;
|
import java.awt.Font;
|
||||||
import java.awt.event.KeyEvent;
|
import java.io.BufferedReader;
|
||||||
import javax.swing.text.*;
|
import java.io.IOException;
|
||||||
import java.awt.font.*;
|
import java.io.InputStream;
|
||||||
|
import java.io.InputStreamReader;
|
||||||
|
import java.net.URL;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
import java.util.StringTokenizer;
|
||||||
|
|
||||||
|
import javax.swing.text.SimpleAttributeSet;
|
||||||
|
import javax.swing.text.StyleConstants;
|
||||||
|
|
||||||
import org.thdl.util.ThdlDebug;
|
|
||||||
import org.thdl.util.ThdlLazyException;
|
|
||||||
import org.thdl.util.Trie;
|
|
||||||
import org.thdl.util.ThdlOptions;
|
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
||||||
|
import org.thdl.util.ThdlDebug;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
import org.thdl.util.Trie;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interfaces between Extended Wylie and the TibetanMachineWeb fonts.
|
* Interfaces between Extended Wylie and the TibetanMachineWeb fonts.
|
||||||
|
|
|
@ -18,8 +18,7 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.text.ViewFactory;
|
||||||
import javax.swing.text.*;
|
|
||||||
import javax.swing.text.rtf.RTFEditorKit;
|
import javax.swing.text.rtf.RTFEditorKit;
|
||||||
|
|
||||||
/** An EditorKit that is cognizant of the line-wrapping rules for
|
/** An EditorKit that is cognizant of the line-wrapping rules for
|
||||||
|
|
|
@ -18,8 +18,10 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.text.AbstractDocument;
|
||||||
import javax.swing.text.*;
|
import javax.swing.text.Element;
|
||||||
|
import javax.swing.text.View;
|
||||||
|
import javax.swing.text.ViewFactory;
|
||||||
|
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text;
|
package org.thdl.tib.text;
|
||||||
|
|
||||||
import java.util.Vector;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A stretch of Roman transliteration all in a certain font size.
|
* A stretch of Roman transliteration all in a certain font size.
|
||||||
|
|
|
@ -18,7 +18,6 @@ Contributor(s): ______________________________________.
|
||||||
|
|
||||||
package org.thdl.tib.text.tshegbar;
|
package org.thdl.tib.text.tshegbar;
|
||||||
|
|
||||||
import java.io.InputStream;
|
|
||||||
|
|
||||||
/** A UnicodeReader attempts to read from an InputStream and forms our
|
/** A UnicodeReader attempts to read from an InputStream and forms our
|
||||||
* <i>TTBIR</i>, our Tibetan Tsheg Bar Internal Representation. You
|
* <i>TTBIR</i>, our Tibetan Tsheg Bar Internal Representation. You
|
||||||
|
|
|
@ -23,9 +23,9 @@ import java.util.ArrayList;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import org.thdl.util.ThdlOptions;
|
|
||||||
import org.thdl.tib.text.TibetanDocument;
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
||||||
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
/** Tests this package's ability to understand EWTS and turn it into
|
/** Tests this package's ability to understand EWTS and turn it into
|
||||||
* the appropriate TMW or Unicode.
|
* the appropriate TMW or Unicode.
|
||||||
|
|
|
@ -23,11 +23,11 @@ package org.thdl.tib.text.ttt;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
|
||||||
import org.thdl.tib.text.DuffCode;
|
import org.thdl.tib.text.DuffCode;
|
||||||
import org.thdl.tib.text.THDLWylieConstants;
|
import org.thdl.tib.text.THDLWylieConstants;
|
||||||
import org.thdl.tib.text.TibTextUtils;
|
import org.thdl.tib.text.TibTextUtils;
|
||||||
import org.thdl.tib.text.TibetanMachineWeb;
|
import org.thdl.tib.text.TibetanMachineWeb;
|
||||||
|
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
||||||
import org.thdl.util.ThdlDebug;
|
import org.thdl.util.ThdlDebug;
|
||||||
|
|
||||||
/** A singleton class that should contain (but due to laziness and
|
/** A singleton class that should contain (but due to laziness and
|
||||||
|
|
|
@ -27,9 +27,9 @@ import java.io.OutputStreamWriter;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.thdl.tib.text.DuffCode;
|
import org.thdl.tib.text.DuffCode;
|
||||||
|
import org.thdl.tib.text.THDLWylieConstants;
|
||||||
import org.thdl.tib.text.TibetanDocument;
|
import org.thdl.tib.text.TibetanDocument;
|
||||||
import org.thdl.tib.text.TibetanMachineWeb;
|
import org.thdl.tib.text.TibetanMachineWeb;
|
||||||
import org.thdl.tib.text.THDLWylieConstants;
|
|
||||||
import org.thdl.util.ThdlDebug;
|
import org.thdl.util.ThdlDebug;
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ package org.thdl.tib.text.ttt;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
|
||||||
import org.thdl.tib.text.TGCPair;
|
import org.thdl.tib.text.TGCPair;
|
||||||
import org.thdl.tib.text.TibetanMachineWeb;
|
import org.thdl.tib.text.TibetanMachineWeb;
|
||||||
import org.thdl.util.ThdlDebug;
|
import org.thdl.util.ThdlDebug;
|
||||||
|
|
|
@ -21,11 +21,11 @@ Contributor(s): ______________________________________.
|
||||||
package org.thdl.tib.text.ttt;
|
package org.thdl.tib.text.ttt;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import org.thdl.tib.text.TibetanMachineWeb;
|
|
||||||
import org.thdl.tib.text.THDLWylieConstants;
|
import org.thdl.tib.text.THDLWylieConstants;
|
||||||
|
import org.thdl.tib.text.TibetanMachineWeb;
|
||||||
|
|
||||||
/** A factory for creating {@link TPairList TPairLists} from
|
/** A factory for creating {@link TPairList TPairLists} from
|
||||||
* Strings of ACIP.
|
* Strings of ACIP.
|
||||||
|
|
|
@ -21,7 +21,6 @@ package org.thdl.tib.text.ttt;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.ListIterator;
|
import java.util.ListIterator;
|
||||||
|
|
||||||
import org.thdl.util.ThdlDebug;
|
|
||||||
import org.thdl.tib.text.TGCList;
|
import org.thdl.tib.text.TGCList;
|
||||||
import org.thdl.tib.text.TibTextUtils;
|
import org.thdl.tib.text.TibTextUtils;
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ package org.thdl.tib.text.ttt;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
|
||||||
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
|
||||||
import org.thdl.tib.text.THDLWylieConstants;
|
import org.thdl.tib.text.THDLWylieConstants;
|
||||||
|
import org.thdl.tib.text.tshegbar.UnicodeUtils;
|
||||||
import org.thdl.util.ThdlDebug;
|
import org.thdl.util.ThdlDebug;
|
||||||
import org.thdl.util.ThdlOptions;
|
import org.thdl.util.ThdlOptions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue