| 1 |
# Rules for Biblical Hebrew with no shewas or dageshes (Katz) |
| 2 |
# |
| 3 |
#-license: lgpl-2.1 |
| 4 |
|
| 5 |
# This file is free software; you can redistribute it and/or |
| 6 |
# modify it under the terms of the GNU Lesser General Public |
| 7 |
# License as published by the Free Software Foundation; either |
| 8 |
# version 2.1 of the License, or (at your option) any later version. |
| 9 |
# |
| 10 |
# This file is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
# Lesser General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU Lesser General Public |
| 16 |
# License along with this file; if not, write to the Free Software |
| 17 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 |
# liblouis comes with ABSOLUTELY NO WARRANTY. |
| 19 |
|
| 20 |
# Copyright (C) 2025 Eric J. Harvey |
| 21 |
|
| 22 |
#-copyright: 2025, Eric J. Harvey |
| 23 |
|
| 24 |
#-maintainer: Eric J. Harvey <[email protected]> |
| 25 |
|
| 26 |
#-author: Eric J. Harvey <[email protected]> |
| 27 |
|
| 28 |
# This file contains rules for the Hebrew transcription standard in |
| 29 |
# Eliezer Katz, Hebrew Braille: A Manual for Hebrew Braille and |
| 30 |
# Basic Hebrew (with Attention to Transcribers), New York: JBI |
| 31 |
# International, 1961. |
| 32 |
# This was a revision of the 1946 International Hebrew Braille |
| 33 |
# Code. It eliminated the shewa and dagesh to create a more compact |
| 34 |
# text. |
| 35 |
|
| 36 |
# This file contains the Hebrew rules that are necessary for the |
| 37 |
# Katz standard but not shared by other Classical/Biblical Hebrew |
| 38 |
# tables. |
| 39 |
# It requires hbo-common-rules.uti to function. |
| 40 |
# It is included in hbo-slim.utb along with basic Latin alphabet |
| 41 |
# support, but can also be included in tables with other secondary |
| 42 |
# languages. |
| 43 |
|
| 44 |
# Developed by Eric J. Harvey with support from the national |
| 45 |
# Endowment for the Humanities (USA) and Stanford University. |
| 46 |
# Many thanks to Leonard de Ruijter, Sarah Blake LaRose, Matthew |
| 47 |
# Yeater, and Paul Geoghegan for their help developing and testing the |
| 48 |
# tables, and to Abby Howell for suggesting the inclusion of Yiddish |
| 49 |
# characters and reviewing code. |
| 50 |
|
| 51 |
# Include common characters and rules |
| 52 |
include hbo-common-rules.uti |
| 53 |
|
| 54 |
# Eliminating unused cantillation marks |
| 55 |
noback correct [%extcant] ? |
| 56 |
noback correct "֔" ? |
| 57 |
|
| 58 |
# Eliminate shevas |
| 59 |
noback context "ְ" ? |
| 60 |
|
| 61 |
# Remove dot-5 dageshes and mappiq |
| 62 |
noback pass3 [@5a]%hebLetter ? |
| 63 |
noback pass3 %vowel[@5a] ? |
| 64 |
noback pass3 [@5a]@156 ? |
| 65 |
|
| 66 |
# character reordering |
| 67 |
## Move Etnahta/atnok to end of Word |
| 68 |
noback pass2 @23a[!$sp.] *@23a |