summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Pan <calvinpan@google.com>2023-05-09 18:20:03 +0800
committerCalvin Pan <calvinpan@google.com>2023-05-10 14:19:52 +0800
commit1a0970d754ecb0b21c950a7fe16c21eaffa4a350 (patch)
treebe6b10545a9abe512f2d4d3caa38d66d0d8cc0d3
parent6d0a06510505ba047ec0e4ae4d65072906d645b2 (diff)
downloadhyphenation-patterns-1a0970d754ecb0b21c950a7fe16c21eaffa4a350.tar.gz
Separate different repositories into different folders - 1
Create repository folder and update the build file Bug: 260804588 Test: atest HyphenationTest Change-Id: I432820430283ea3391a5c1d138ad5f67100ebb73
-rw-r--r--Android.mk106
-rw-r--r--LibreOffice/METADATA23
-rw-r--r--LibreOffice/README.android18
-rw-r--r--OpenTaal/METADATA13
-rw-r--r--OpenTaal/README.android9
-rw-r--r--TeX/METADATA14
-rw-r--r--TeX/README.android91
-rw-r--r--laboratory50/METADATA13
-rw-r--r--laboratory50/README.android9
-rw-r--r--rekenaar/METADATA13
-rw-r--r--rekenaar/README.android9
-rw-r--r--tensojka/METADATA13
-rw-r--r--tensojka/README.android9
13 files changed, 287 insertions, 53 deletions
diff --git a/Android.mk b/Android.mk
index 19e7013..d663d14 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,59 +18,59 @@ ifneq ($(TARGET_BUILD_PDK),true)
LOCAL_PATH := $(call my-dir)
pattern_locales := \
- af/af \
- am/mul-ethi \
- as/as \
- be/be \
- bn/bn \
- bg/bg \
- cs/cs \
- cu/cu \
- cy/cy \
- da/da \
- de/de-1901 \
- de/de-1996 \
- de/de-ch-1901 \
- el/el \
- en-GB/en-gb \
- en-US/en-us \
- es/es \
- et/et \
- eu/eu \
- Ethi/und-ethi \
- fr/fr \
- ga/ga \
- gl/gl \
- gu/gu \
- hi/hi \
- hr/hr \
- hu/hu \
- hy/hy \
- it/it \
- ka/ka \
- kn/kn \
- la/la \
- lt/lt \
- lv/lv \
- ml/ml \
- mn/mn-cyrl \
- mr/mr \
- nb/nb \
- nl/nl \
- nn/nn \
- or/or \
- pa/pa \
- pl/pl \
- pt/pt \
- ru/ru \
- sk/sk \
- sl/sl \
- sq/sq \
- sv/sv \
- ta/ta \
- te/te \
- tk/tk \
- uk/uk
+ rekenaar/af/af \
+ TeX/am/mul-ethi \
+ TeX/as/as \
+ TeX/be/be \
+ TeX/bn/bn \
+ TeX/bg/bg \
+ tensojka/cs/cs \
+ TeX/cu/cu \
+ TeX/cy/cy \
+ TeX/da/da \
+ TeX/de/de-1901 \
+ TeX/de/de-1996 \
+ TeX/de/de-ch-1901 \
+ TeX/el/el \
+ TeX/en-GB/en-gb \
+ TeX/en-US/en-us \
+ TeX/es/es \
+ TeX/et/et \
+ TeX/eu/eu \
+ TeX/Ethi/und-ethi \
+ TeX/fr/fr \
+ TeX/ga/ga \
+ TeX/gl/gl \
+ TeX/gu/gu \
+ TeX/hi/hi \
+ TeX/hr/hr \
+ TeX/hu/hu \
+ TeX/hy/hy \
+ TeX/it/it \
+ TeX/ka/ka \
+ TeX/kn/kn \
+ TeX/la/la \
+ TeX/lt/lt \
+ TeX/lv/lv \
+ TeX/ml/ml \
+ TeX/mn/mn-cyrl \
+ TeX/mr/mr \
+ TeX/nb/nb \
+ OpenTaal/nl/nl \
+ TeX/nn/nn \
+ TeX/or/or \
+ TeX/pa/pa \
+ TeX/pl/pl \
+ TeX/pt/pt \
+ laboratory50/ru/ru \
+ TeX/sk/sk \
+ TeX/sl/sl \
+ TeX/sq/sq \
+ LibreOffice/sv/sv \
+ TeX/ta/ta \
+ TeX/te/te \
+ TeX/tk/tk \
+ TeX/uk/uk
# TODO: we have data for sa/sa, but it requires special case handling for case
# folding and normalization, so don't build it until that's fixed.
diff --git a/LibreOffice/METADATA b/LibreOffice/METADATA
new file mode 100644
index 0000000..9ad6321
--- /dev/null
+++ b/LibreOffice/METADATA
@@ -0,0 +1,23 @@
+name: "LibreOffice Swedish Hyphenation Dictionary"
+description:
+ "This Swedish Hyphenation Dictionary is maintained by "
+ "Niklas Johansson <sleeping.pillow@gmail.com>. "
+ "The most recent version should be available through "
+ "the libreoffice extensions respiratory at: "
+ "extensions.libreoffice.org/extension-center "
+ "or "
+ "http://extensions.services.openoffice.org/ "
+ " "
+ "If you find a Swedish word that is hyphenated incorrectly "
+ "please send me a mail at sleeping.pillow@gmail.com"
+
+third_party {
+ url {
+ type: ARCHIVE
+ value: "https://cgit.freedesktop.org/libreoffice/dictionaries/tree/sv_SE"
+ }
+ version: "03a891f1b00d9b1a14c6a72fb33cb682b549053a"
+ last_upgrade_date { year: 2023 month: 5 day: 10 }
+ license_type: RECIPROCAL
+ license_note: "The hyphenation pattern is under MPL/LGPLv3+ dual license and we've got confirmation from the owner that we can use it under the MPL."
+}
diff --git a/LibreOffice/README.android b/LibreOffice/README.android
new file mode 100644
index 0000000..3c96eae
--- /dev/null
+++ b/LibreOffice/README.android
@@ -0,0 +1,18 @@
+URL: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/sv_SE
+Version: 03a891f1b00d9b1a14c6a72fb33cb682b549053a
+License: various
+License File: LICENSE
+
+The package contains hyphenation patterns under MPL licenses.
+
+Description:
+This Swedish Hyphenation Dictionary is maintained by
+Niklas Johansson <sleeping.pillow@gmail.com>.
+The most recent version should be available through
+the libreoffice extensions respiratory at:
+extensions.libreoffice.org/extension-center
+or
+http://extensions.services.openoffice.org/
+
+If you find a Swedish word that is hyphenated incorrectly
+please send me a mail at sleeping.pillow@gmail.com
diff --git a/OpenTaal/METADATA b/OpenTaal/METADATA
new file mode 100644
index 0000000..e1aa7c3
--- /dev/null
+++ b/OpenTaal/METADATA
@@ -0,0 +1,13 @@
+name: "OpenTaal"
+description:
+ "Dutch hyphenation patterns"
+
+third_party {
+ url {
+ type: ARCHIVE
+ value: "https://github.com/OpenTaal/opentaal-hunspell"
+ }
+ version: "ad0351b7c1a862f05d88131046a054f1cc84944a"
+ last_upgrade_date { year: 2023 month: 5 day: 10 }
+ license_type: NOTICE
+}
diff --git a/OpenTaal/README.android b/OpenTaal/README.android
new file mode 100644
index 0000000..a7045d5
--- /dev/null
+++ b/OpenTaal/README.android
@@ -0,0 +1,9 @@
+URL: https://github.com/OpenTaal/opentaal-hunspell
+Version: ad0351b7c1a862f05d88131046a054f1cc84944a
+License: various
+License File: LICENSE
+
+The package contains hyphenation patterns under BSD licenses.
+
+Description:
+Dutch hyphenation patterns
diff --git a/TeX/METADATA b/TeX/METADATA
new file mode 100644
index 0000000..c441566
--- /dev/null
+++ b/TeX/METADATA
@@ -0,0 +1,14 @@
+name: "Tex-hyphen"
+description:
+ "Hyphenation patterns for automatic hyphenation from TeX hyphenation "
+ "patterns project at http://www.hyphenation.org."
+
+third_party {
+ url {
+ type: ARCHIVE
+ value: "https://github.com/hyphenation/tex-hyphen"
+ }
+ version: "ecf976ab6995acb653d38ab1af0b9b9829ec0c77"
+ last_upgrade_date { year: 2023 month: 5 day: 10 }
+ license_type: NOTICE
+}
diff --git a/TeX/README.android b/TeX/README.android
new file mode 100644
index 0000000..9e98423
--- /dev/null
+++ b/TeX/README.android
@@ -0,0 +1,91 @@
+URL: https://github.com/hyphenation/tex-hyphen
+Version: ecf976ab6995acb653d38ab1af0b9b9829ec0c77
+License: various
+License File: LICENSE
+
+The tex-hyphen package contains hyphenation patterns under several different licenses.
+Patterns licensed under the following open source licenses can be imported here:
+* Apache 2.0
+* Unlicense
+* MIT
+* BSD
+* MPL
+* LGPL 2.1
+
+Description:
+Hyphenation patterns for automatic hyphenation from TeX hyphenation patterns
+project at http://www.hyphenation.org.
+
+Local Modifications:
+The patterns are taken from the hyph-utf8/tex/generic/hyph-utf8/patterns/txt directory.
+
+Only the following patterns are included from that directory:
+
+* Amharic (am)
+* Armenian (hy)
+* Assamese (as)
+* Basque (eu)
+* Belarusian (be)
+* Bengali (bn)
+* Bulgarian (bg)
+* Church Slavonic (cu)
+* Croation (hr)
+* Danish (da)
+* Estonian (et)
+* Ethiopic script (und-Ethi)
+* French (fr)
+* Galician (gl)
+* German (de)
+* Gujarati (gu)
+* Hindi (hi)
+* Hungarian (hu)
+* Irish (ga)
+* Kannada (kn)
+* Latin (la)
+* Latvian (lv)
+* Lithuanian (lt)
+* Malayalam (ml)
+* Marathi (mr)
+* Mongolian written in Cyrillic (mn-cyrl)
+* Norwegian Bokmål (nb)
+* Norwegian Nynorsk (nn)
+* Oriya (or)
+* Polish (pl)
+* Portuguese (pt)
+* Punjabi (pa)
+* Sanskrit (sa)
+* Slovenian (sl)
+* Spanish (es)
+* Tamil (ta)
+* Telugu (te)
+* Turkmen (tk)
+* Ukrainian (uk)
+* US English (en-US)
+* Welsh (cy)
+
+The Ethiopic script pattern files have been renamed from mul-ethi to und-ethi,
+to properly follow BCP 47 naming.
+
+In case hyphenation patterns are licensed under dual licenses,
+hyph-{lang}.lic.txt files are edited to keep only the license Android applies
+as listed in the corresponding NOTICE files.
+
+For the German (de) patterns, the *.chr.txt has been automatically generated
+based on the contents of the pattern files, using the the create_chr.py script
+created by Android engineers.
+
+British English (en-GB) patterns are taken from a different part of the
+tex-hyphen repository. Please see the README.android file in the 'en-GB'
+directory.
+
+US English (en-US) patterns have been modified to remove patterns added to
+the end of the file that had been incorrectly computed based on the TUGboat
+hyphenation exception list. To compensate for that, the TUGboat hyphenation
+exception list for US English has been downloaded from
+<http://mirror.ctan.org/info/digests/tugboat/hyphenex/ushyphex.tex> and
+explicitly added to the end of the hyphenation exception file for US
+English.
+
+Swedish (sv) patterns are converted to utf-8 and the first three
+lines(encoding, leftmin, rightmin) are removed to preserve the hyphenation
+pattern only in *.pat.txt
diff --git a/laboratory50/METADATA b/laboratory50/METADATA
new file mode 100644
index 0000000..51154b8
--- /dev/null
+++ b/laboratory50/METADATA
@@ -0,0 +1,13 @@
+name: "laboratory50"
+description:
+ "Russian hyphenation patterns"
+
+third_party {
+ url {
+ type: ARCHIVE
+ value: "https://github.com/laboratory50/russian-spellpack"
+ }
+ version: "7ff7934531a0711b5c86802ab635fdbdc974c1cc"
+ last_upgrade_date { year: 2023 month: 5 day: 10 }
+ license_type: RESTRICTED
+}
diff --git a/laboratory50/README.android b/laboratory50/README.android
new file mode 100644
index 0000000..3029e33
--- /dev/null
+++ b/laboratory50/README.android
@@ -0,0 +1,9 @@
+URL: https://github.com/laboratory50/russian-spellpack
+Version: 7ff7934531a0711b5c86802ab635fdbdc974c1cc
+License: various
+License File: LICENSE
+
+The package contains hyphenation patterns under LGPL 2.1 licenses.
+
+Description:
+Russian hyphenation patterns
diff --git a/rekenaar/METADATA b/rekenaar/METADATA
new file mode 100644
index 0000000..ec3498a
--- /dev/null
+++ b/rekenaar/METADATA
@@ -0,0 +1,13 @@
+name: "rekenaar"
+description:
+ "Afrikaans hyphenation patterns"
+
+third_party {
+ url {
+ type: ARCHIVE
+ value: "https://github.com/rekenaar/AfrHyphenation"
+ }
+ version: "8a5c654ae9ce5e20152b4a7f398d4ab3cc723ea9"
+ last_upgrade_date { year: 2023 month: 5 day: 10 }
+ license_type: NOTICE
+}
diff --git a/rekenaar/README.android b/rekenaar/README.android
new file mode 100644
index 0000000..2c3ff5c
--- /dev/null
+++ b/rekenaar/README.android
@@ -0,0 +1,9 @@
+URL: https://github.com/rekenaar/AfrHyphenation
+Version: 8a5c654ae9ce5e20152b4a7f398d4ab3cc723ea9
+License: various
+License File: LICENSE
+
+The package contains hyphenation patterns under MIT licenses.
+
+Description:
+Afrikaans hyphenation patterns
diff --git a/tensojka/METADATA b/tensojka/METADATA
new file mode 100644
index 0000000..9ef5875
--- /dev/null
+++ b/tensojka/METADATA
@@ -0,0 +1,13 @@
+name: "tensojka"
+description:
+ "Towards Universal Hyphenation Patterns: Czechoslovak hyphenation patterns"
+
+third_party {
+ url {
+ type: ARCHIVE
+ value: "https://github.com/tensojka/cshyphen"
+ }
+ version: "0ec0bdb720747738139eb240963d0d6993759031"
+ last_upgrade_date { year: 2023 month: 5 day: 10 }
+ license_type: NOTICE
+}
diff --git a/tensojka/README.android b/tensojka/README.android
new file mode 100644
index 0000000..abbe3fa
--- /dev/null
+++ b/tensojka/README.android
@@ -0,0 +1,9 @@
+URL: https://github.com/tensojka/cshyphen
+Version: 0ec0bdb720747738139eb240963d0d6993759031
+License: various
+License File: LICENSE
+
+The package contains hyphenation patterns under MIT licenses.
+
+Description:
+Towards Universal Hyphenation Patterns: Czechoslovak hyphenation patterns