aboutsummaryrefslogtreecommitdiffstats
path: root/icu
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 09:57:17 +0000
committerdanglassey <danglassey>2002-08-14 09:57:17 +0000
commitdaa67ff1f728c07f2a116ee9a9f4505479ca6808 (patch)
treec224a537d30480002ae0560cc9104b543b4d1b5e /icu
parent6d6973e035aac5ec1676efccd5b8ada70c40b639 (diff)
downloadsword-sf-cvs-daa67ff1f728c07f2a116ee9a9f4505479ca6808.tar.gz
Initial import from crosswire CVS for syncingimport-1.1.1
Diffstat (limited to 'icu')
-rw-r--r--icu/Makefile.am48
-rw-r--r--icu/Makefile.in291
-rw-r--r--icu/translit_Latin_Thai.txt162
3 files changed, 501 insertions, 0 deletions
diff --git a/icu/Makefile.am b/icu/Makefile.am
new file mode 100644
index 0000000..a23316a
--- /dev/null
+++ b/icu/Makefile.am
@@ -0,0 +1,48 @@
+AUTOMAKE_OPTIONS = 1.6
+
+if ICU
+#pkglib_DATA = swicu.dat
+#else
+#endif
+
+swicuSOURCES = translit_BETA_Greek.txt
+swicuSOURCES += translit_BGreek_Greek.txt
+swicuSOURCES += translit_CCAT_Hebrew.txt
+swicuSOURCES += translit_CCAT_Syriac.txt
+swicuSOURCES += translit_Latin_Armenian.txt
+swicuSOURCES += translit_Latin_Coptic.txt
+swicuSOURCES += translit_Latin_Ethiopic.txt
+swicuSOURCES += translit_Latin_Georgian.txt
+swicuSOURCES += translit_Latin_Gothic.txt
+swicuSOURCES += translit_Latin_Syriac.txt
+swicuSOURCES += translit_Latin_Thai.txt
+swicuSOURCES += translit_Latin_Ugaritic.txt
+swicuSOURCES += translit_Any_Latin1.txt
+#swicuSOURCES += translit_HTMLEnt_Unicode.txt
+#swicuSOURCES += translit_Han_Pinyin.txt
+#swicuSOURCES += translit_Kanji_English.txt
+#swicuSOURCES += translit_Kanji_OnRomaji.txt
+swicuSOURCES += translit_Latin_Arabic.txt
+swicuSOURCES += translit_Latin_Hebrew.txt
+swicuSOURCES += translit_swordindex.txt
+endif
+
+CLEANFILES = *.res *.lst *.mk *.mak swicu.dat
+
+pkglib_DATA = $(swicuSOURCES:.txt=.res)
+
+SUFFIXES = .txt .res .dat
+
+#swicu.dat: $(swicuDATA) trans.lst icupkg.mk
+# $(PKGDATA) -O icupkg.mk -p swicu -m common -T . -s . \
+# -d . -r $(VERSION) trans.lst
+
+#trans.lst:
+# ls -1 *.res > trans.lst
+
+#icupkg.mk:
+# @echo "GENCCODE=@GENCCODE@" > icupkg.mk
+# @echo "GENCMN=@GENCMN@" >> icupkg.mk
+
+.txt.res:
+ $(GENRB) -s . -d . $<
diff --git a/icu/Makefile.in b/icu/Makefile.in
new file mode 100644
index 0000000..68520df
--- /dev/null
+++ b/icu/Makefile.in
@@ -0,0 +1,291 @@
+# Makefile.in generated by automake 1.6.2 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = @program_transform_name@
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+AMTAR = @AMTAR@
+AS = @AS@
+AWK = @AWK@
+CC = @CC@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CXX = @CXX@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+GENCCODE = @GENCCODE@
+GENCMN = @GENCMN@
+GENRB = @GENRB@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+MAINT = @MAINT@
+OBJDUMP = @OBJDUMP@
+PACKAGE = @PACKAGE@
+PKGDATA = @PKGDATA@
+RANLIB = @RANLIB@
+STRIP = @STRIP@
+VERSION = @VERSION@
+am__include = @am__include@
+am__quote = @am__quote@
+dir_confdef = @dir_confdef@
+enable_debug = @enable_debug@
+enable_profile = @enable_profile@
+install_sh = @install_sh@
+target_cpu = @target_cpu@
+target_mingw32 = @target_mingw32@
+target_os = @target_os@
+target_system = @target_system@
+target_vendor = @target_vendor@
+with_conf = @with_conf@
+with_icu = @with_icu@
+with_zlib = @with_zlib@
+AUTOMAKE_OPTIONS = 1.6
+
+
+#pkglib_DATA = swicu.dat
+#else
+#endif
+#swicuSOURCES += translit_HTMLEnt_Unicode.txt
+#swicuSOURCES += translit_Han_Pinyin.txt
+#swicuSOURCES += translit_Kanji_English.txt
+#swicuSOURCES += translit_Kanji_OnRomaji.txt
+@ICU_TRUE@swicuSOURCES = translit_BETA_Greek.txt translit_BGreek_Greek.txt translit_CCAT_Hebrew.txt translit_CCAT_Syriac.txt translit_Latin_Armenian.txt translit_Latin_Coptic.txt translit_Latin_Ethiopic.txt translit_Latin_Georgian.txt translit_Latin_Gothic.txt translit_Latin_Syriac.txt translit_Latin_Thai.txt translit_Latin_Ugaritic.txt translit_Any_Latin1.txt translit_Latin_Arabic.txt translit_Latin_Hebrew.txt translit_swordindex.txt
+
+CLEANFILES = *.res *.lst *.mk *.mak swicu.dat
+
+pkglib_DATA = $(swicuSOURCES:.txt=.res)
+
+SUFFIXES = .txt .res .dat
+subdir = icu
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+DATA = $(pkglib_DATA)
+
+DIST_COMMON = Makefile.am Makefile.in
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .txt .res .dat
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu icu/Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+pkglibDATA_INSTALL = $(INSTALL_DATA)
+install-pkglibDATA: $(pkglib_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+ @list='$(pkglib_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(pkglibDATA_INSTALL) $$d$$p $(DESTDIR)$(pkglibdir)/$$f"; \
+ $(pkglibDATA_INSTALL) $$d$$p $(DESTDIR)$(pkglibdir)/$$f; \
+ done
+
+uninstall-pkglibDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkglib_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(pkglibdir)/$$f"; \
+ rm -f $(DESTDIR)$(pkglibdir)/$$f; \
+ done
+tags: TAGS
+TAGS:
+
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+ @list='$(DISTFILES)'; for file in $$list; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+
+installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am: install-pkglibDATA
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+uninstall-am: uninstall-info-am uninstall-pkglibDATA
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-pkglibDATA install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool uninstall uninstall-am uninstall-info-am \
+ uninstall-pkglibDATA
+
+
+#swicu.dat: $(swicuDATA) trans.lst icupkg.mk
+# $(PKGDATA) -O icupkg.mk -p swicu -m common -T . -s . \
+# -d . -r $(VERSION) trans.lst
+
+#trans.lst:
+# ls -1 *.res > trans.lst
+
+#icupkg.mk:
+# @echo "GENCCODE=@GENCCODE@" > icupkg.mk
+# @echo "GENCMN=@GENCMN@" >> icupkg.mk
+
+.txt.res:
+ $(GENRB) -s . -d . $<
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/icu/translit_Latin_Thai.txt b/icu/translit_Latin_Thai.txt
new file mode 100644
index 0000000..956947e
--- /dev/null
+++ b/icu/translit_Latin_Thai.txt
@@ -0,0 +1,162 @@
+//--------------------------------------------------------------------
+// Copyright 2001, CrossWire Bible Society (http://www.crosswire.org)
+// Use freely.
+//--------------------------------------------------------------------
+// Based upon UNGEGN recommendations from
+// http://www.eki.ee/wgrs/rom1_th.pdf
+//--------------------------------------------------------------------
+
+// Latin-Thai
+
+translit_Latin_Thai {
+ Rule {
+ ":: NFD (NFC) ;"
+
+ ":: [[:LATIN:]-[B]] lower();"
+
+ //completeness mappings
+ "c}[^h]>|k;"
+ "g>|ng;"
+ "q>|k;"
+ "v>|f;"
+ "x>|kh;"
+ "z>|s;"
+ "j>|i;"
+
+ // latin-thai
+ "\u2026<>\u0E2F;"
+ "\u00B7<>\u0E4F;"
+
+ "B<>\u0E3F;"
+
+ "|$1 a $2<([[:THAI:]&[:L:]])\u0E31([[:THAI:]&[:L:]]);"
+ "|$1 a $2<([[:THAI:]&[:L:]])\u0E23\u0E23([[:THAI:]&[:L:]]);"
+ "|$1 e<\u0E40([[:THAI:]&[:L:]])\u0E30;"
+ "|$1 e $2<\u0E40([[:THAI:]&[:L:]])\u0E47([[:THAI:]&[:L:]]);"
+ "|$1 ae<\u0E41([[:THAI:]&[:L:]])\u0E30;"
+ "|$1 ae $2<\u0E41([[:THAI:]&[:L:]])\u0E47([[:THAI:]&[:L:]]);"
+ "|$1 o<\u0E42([[:THAI:]&[:L:]])\u0E30;"
+ "|$1 o<\u0E40([[:THAI:]&[:L:]])\u0E32\u0E30;"
+ "|$1 oe<\u0E40([[:THAI:]&[:L:]])\u0E3D\u0E30;"
+ "|$1 oe $2<\u0E40([[:THAI:]&[:L:]])\u0E34([[:THAI:]&[:L:]]);"
+ "|$1 oe<\u0E40([[:THAI:]&[:L:]])\u0E2D;"
+ "|$1 ia<\u0E40([[:THAI:]&[:L:]])\u0E35\u0E22\u0E30;"
+ "|$1 ia<\u0E40([[:THAI:]&[:L:]])\u0E35\u0E22;"
+ "|$1 uea<\u0E40([[:THAI:]&[:L:]])\u0E37\u0E2D\u0E30;"
+ "|$1 uea<\u0E40([[:THAI:]&[:L:]])\u0E37\u0E2D;"
+ "|$1 ua<([[:THAI:]&[:L:]])\u0E31\u0E27\u0E30;"
+ "|$1 ua<([[:THAI:]&[:L:]])\u0E31\u0E27;"
+ "|$1 ua $2<([[:THAI:]&[:L:]])\u0E27([[:THAI:]&[:L:]]);"
+ "|$1 ai<([[:THAI:]&[:L:]])\u0E31\u0E22;"
+ "|$1 ai<\u0E44([[:THAI:]&[:L:]])\u0E22;"
+ "|$1 ai<([[:THAI:]&[:L:]])\u0E32\u0E22;"
+ "|$1 ao<\u0E40([[:THAI:]&[:L:]])\u0E32;"
+ "|$1 ao<([[:THAI:]&[:L:]])\u0E32\u0E27;"
+ "|$1 ui<([[:THAI:]&[:L:]])\u0E38\u0E22;"
+ "|$1 oi<\u0E42([[:THAI:]&[:L:]])\u0E22;"
+ "|$1 oi<([[:THAI:]&[:L:]])\u0E2D\u0E22;"
+ "|$1 oei<\u0E40([[:THAI:]&[:L:]])\u0E22;"
+ "|$1 ueai<\u0E40([[:THAI:]&[:L:]])\u0E37\u0E2D\u0E22;"
+ "|$1 uai<([[:THAI:]&[:L:]])\u0E27\u0E22;"
+ "|$1 io<([[:THAI:]&[:L:]])\u0E34\u0E27;"
+ "|$1 eo<\u0E40([[:THAI:]&[:L:]])\u0E47\u0E27;"
+ "|$1 eo<\u0E40([[:THAI:]&[:L:]])\u0E27;"
+ "|$1 aeo<\u0E41([[:THAI:]&[:L:]])\u0E47\u0E27;"
+ "|$1 aeo<\u0E41([[:THAI:]&[:L:]])\u0E27;"
+ "|$1 iao<\u0E40([[:THAI:]&[:L:]])\u0E35\u0E22\u0E27;"
+
+ "|$1 o<([[:THAI:]&[:L:]])\u0E2D;"
+ "|$1 a<([[:THAI:]&[:L:]])\u0E30;"
+ "|$1 a<([[:THAI:]&[:L:]])\u0E32;"
+ "|$1 an<([[:THAI:]&[:L:]])\u0E23\u0E23;"
+ "|$1 am<([[:THAI:]&[:L:]])\u0E33;"
+ "|$1 i<([[:THAI:]&[:L:]])\u0E34;"
+ "|$1 i<([[:THAI:]&[:L:]])\u0E35;"
+ "|$1 ue<([[:THAI:]&[:L:]])\u0E36;"
+ "|$1 ue<([[:THAI:]&[:L:]])\u0E37;"
+ "|$1 u<([[:THAI:]&[:L:]])\u0E38;"
+ "|$1 u<([[:THAI:]&[:L:]])\u0E39;"
+ "|$1 e<\u0E40([[:THAI:]&[:L:]]);"
+ "|$1 ae<\u0E41([[:THAI:]&[:L:]]);"
+ "|$1 o<\u0E42([[:THAI:]&[:L:]]);"
+ "|$1 ai<\u0E43([[:THAI:]&[:L:]]);"
+ "|$1 ai<\u0E44([[:THAI:]&[:L:]]);"
+
+ "0<>\u0E50;"
+ "1<>\u0E51;"
+ "2<>\u0E52;"
+ "3<>\u0E53;"
+ "4<>\u0E54;"
+ "5<>\u0E55;"
+ "6<>\u0E56;"
+ "7<>\u0E57;"
+ "8<>\u0E58;"
+ "9<>\u0E59;"
+
+ // this doesn't work; don't know why
+ // "| $1 o < ([[:THAI:]&[:L:]]);"
+
+ "kh<>\u0E02;"
+ "kh<\u0E03;"
+ "kh<\u0E04;"
+ "kh<\u0E05;"
+ "kh<\u0E06;"
+ "k<>\u0E01;"
+ "ng<>\u0E07;"
+ "ch<>\u0E08;"
+ "ch<\u0E09;"
+ "ch<\u0E0A;"
+ "s<>\u0E0B;"
+ "ch<\u0E0C;"
+ "y<>\u0E0D;"
+ "d<>\u0E0E;"
+ "s<\u0E17\u0E23;"
+ "th<>\u0E10;"
+ "th<\u0E11;"
+ "th<\u0E12;"
+ "th<\u0E16;"
+ "th<\u0E17;"
+ "th<\u0E18;"
+ "t<>\u0E0F;"
+ "n<>\u0E13;"
+ "d<\u0E14;"
+ "t<\u0E15;"
+ "n<\u0E19;"
+ "b<>\u0E1A;"
+ "ph<>\u0E1C;"
+ "ph<\u0E1E;"
+ "ph<\u0E20;"
+ "p<>\u0E1B;"
+ "f<>\u0E1D;"
+ "f<\u0E1F;"
+ "m<>\u0E21;"
+ "y<\u0E22;"
+ "rue<>\u0E24\u0E32;"
+ "ri<>\u0E24;"
+ "r<>\u0E23;"
+ "lue<\u0E26\uE32;"
+ "lue<>\u0E26;"
+ "l<>\u0E25;"
+ "w<>\u0E27;"
+ "s<\u0E28;"
+ "s<\u0E29;"
+ "s<\u0E2A;"
+ "h<>\u0E2B;"
+ "l<\u0E2C;"
+ "o<\u0E2D;"
+ "h<\u0E2E;"
+
+ //vowels
+ "a>\u0E30;"
+ "([:LATIN:])e>|\u0E40 $1;"
+ "i>\u0E34;"
+ "([:^L:])o>|$1 \u0E2D;"
+ "u>\u0E38;"
+
+ //remove untransliterated
+ "<[:THAI:];"
+ "[:LATIN:]>;"
+
+ ":: NFC (NFD) ;"
+ }
+}