Skip to content

Commit

Permalink
Merge branch 'tables/korean'
Browse files Browse the repository at this point in the history
Thanks Joseph

Closes #5
  • Loading branch information
egli committed Sep 1, 2014
2 parents c07187f + 84d1b53 commit b483d7a
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 33 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ warnings for example.
- Fix for Norwegian where letsign is affecting some extra characters
thanks to Lars Bjørndal
- Much improved hyphenation for Norwegian thanks to Lars Bjørndal
- Korean Grade 2 now includes support for reading English text using
grade 2.
- en-us-g1.ctb and en-ueb.g1.ctb are now able to display 8 dot Unicode
braille.
- Major improvements to Indian tables thanks to the Indian National
Expand Down
28 changes: 18 additions & 10 deletions tables/ko-g1.ctb
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,29 @@
# Based on the braille contraction table in BRLTTY
#
# Copyright (C) 1995-2012 by The BRLTTY Team.
# Copyright (C) 2012 by Samuel Thibault <samuel.thibault@ens-lyon.org>
# Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
# Copyright (C) 2013 by Joseph Lee <joseph.lee22590@gmail.com>
#
# This file is part of liblouis.
#
# Samuel Thibault <samuel.thibault@ens-lyon.org>
# liblouis is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# liblouis is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with liblouis. If not, see
# <http://www.gnu.org/licenses/>.

# This is missing CHITUEUM*, CEONGCHIEUMSIOS, PANSIOS, YESIEUNG, RINHIEUH and
# ARAEA for which I couldn't find documentation. Please contact me to fix
# anything, as this table was generated from a C program.
#
# Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
# Copyright (C) 2013 by Joseph Lee <joseph.lee22590@gmail.com>
#
# liblouis comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation. Please see the file COPYING for details.

# Globals:
include ko.cti
Expand Down
31 changes: 19 additions & 12 deletions tables/ko-g2.ctb
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,33 @@
# Based on the braille contraction table in BRLTTY
#
# Copyright (C) 1995-2012 by The BRLTTY Team.
# Copyright (C) 2012 by Samuel Thibault <samuel.thibault@ens-lyon.org>
# Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
# Copyright (C) 2013, 2014 by Joseph Lee <joseph.lee22590@gmail.com>
#
# Samuel Thibault <samuel.thibault@ens-lyon.org>
#
# This is missing CHITUEUM*, CEONGCHIEUMSIOS, PANSIOS, YESIEUNG, RINHIEUH and
# ARAEA for which I couldn't find documentation. Please contact me to fix
# anything, as this table was generated from a C program.
# This file is part of liblouis.
#
# Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
# Copyright (C) 2013 by Joseph Lee <joseph.lee22590@gmail.com>
# liblouis is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# liblouis comes with ABSOLUTELY NO WARRANTY.
# liblouis is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# This is free software, placed under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation. Please see the file COPYING for details.
# You should have received a copy of the GNU Lesser General Public
# License along with liblouis. If not, see
# <http://www.gnu.org/licenses/>.

# This is missing CHITUEUM*, CEONGCHIEUMSIOS, PANSIOS, YESIEUNG, RINHIEUH and
# ARAEA for which I couldn't find documentation. Please contact me to fix
# anything, as this table was generated from a C program.

# Globals:
include ko.cti Uncontracted Hangul, punctuation and symbols.

include en-us-g2.ctb To display contracted English in Korean grade 2 mode. Contributed by a certain Mr. Hahn in U.S.

# Common letter contractions:
# Using "always" opcode in order for contraction to work correctly.
Expand Down
25 changes: 17 additions & 8 deletions tables/ko.cti
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,29 @@
# Based on the braille contraction table in BRLTTY
#
# Copyright (C) 1995-2012 by The BRLTTY Team.
#
# Copyright (C) 2012 Samuel Thibault <samuel.thibault@ens-lyon.org>
# Copyright (C) 2012 by Samuel Thibault <samuel.thibault@ens-lyon.org>
# Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
# Copyright (C) 2013 by Joseph Lee <joseph.lee22590@gmail.com>
#
# This file is part of liblouis.
#
# liblouis is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# liblouis is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with liblouis. If not, see
# <http://www.gnu.org/licenses/>.

# This is missing CHITUEUM*, CEONGCHIEUMSIOS, PANSIOS, YESIEUNG, RINHIEUH and
# ARAEA for which I couldn't find documentation. Please contact me to fix
# anything, as this table was generated from a C program.
#
# liblouis comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation. Please see the file COPYING for details.

## Comments:

Expand Down
7 changes: 4 additions & 3 deletions tests/harness/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
harness_TESTS = \
da-dk-g16-dictionary_harness.txt \
da-dk-g18-dictionary_harness.txt \
da-dk-g18-dictionary_harness.txt \
da-dk-g26-dictionary_harness.txt \
da-dk-g28-dictionary_harness.txt \
en-gb-g1_harness.txt \
en-GB-g2_harness.txt \
en-gb-g1_harness.txt \
en-ueb-g2-dictionary_harness.txt \
en-us-g2-dictionary_harness.txt \
ethio-g1_harness.txt \
hu-hu-comp8_harness.txt \
hu-hu-g1_harness.txt \
hu-hu-g1-hyph_harness.txt \
hu-hu-g1_harness.txt \
iu-ca-g1_harness.txt \
ko-g2_harness.txt \
letterDefTest_harness.txt \
nocross_harness.txt \
ta-ta-g1_harness.txt \
Expand Down
29 changes: 29 additions & 0 deletions tests/harness/ko-g2_harness.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"tables": [
"unicode.dis",
"ko-g2.ctb"
],
"tests": [
{
"data": [
{
"comment": [
"Numbers followed by Korean words."
],
"input": "2000년",
"output": "⠼⠃⠚⠚⠚ ⠉⠡"
},
{
"comment": [
"Korean mixed with English contractions"
],
"input": "unity",
"output": "⠥⠝⠰⠽"
}
],
"flags": {
"outputUniBrl": true
}
}
]
}

0 comments on commit b483d7a

Please sign in to comment.