| 1 |
# Vowel rule file for Gregorio |
| 2 |
# Copyright (C) 2015-2025 The Gregorio Project (see CONTRIBUTORS.md) |
| 3 |
# |
| 4 |
# This file is part of Gregorio. |
| 5 |
# |
| 6 |
# This program is free software: you can redistribute it and/or modify it |
| 7 |
# under the terms of the GNU General Public License as published by the Free |
| 8 |
# Software Foundation, either version 3 of the License, or (at your option) |
| 9 |
# any later version. |
| 10 |
# |
| 11 |
# This program is distributed in the hope that it will be useful, but WITHOUT |
| 12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 14 |
# more details. |
| 15 |
# |
| 16 |
# You should have received a copy of the GNU General Public License along with |
| 17 |
# this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 |
|
| 19 |
# Comments begin with a hash symbol and end at the end of the line. These two |
| 20 |
# lines are comments. |
| 21 |
|
| 22 |
# In general, Gregorio does no case folding, so upper- and lower-case |
| 23 |
# characters and combinations thereof should be listed. |
| 24 |
|
| 25 |
# The "alias" keyword indicates that a name is an alias for a given language. |
| 26 |
# The "alias" keyword must be followed by the name of the alias in square |
| 27 |
# brackets, the "to" keyword, the name of the target language in square |
| 28 |
# brackets, and a semicolon. For best performance, aliases should precede the |
| 29 |
# language they are aliasing. |
| 30 |
alias [english] to [en]; |
| 31 |
alias [English] to [en]; |
| 32 |
alias [eng] to [en]; |
| 33 |
|
| 34 |
# The "language" keyword indicates that the rules which follow are for the |
| 35 |
# specified language. It must be followed by the language name enclosed in |
| 36 |
# square brackets and a semicolon. The language specified applies until the |
| 37 |
# next language statement. |
| 38 |
language [en]; |
| 39 |
|
| 40 |
# The "vowel" keyword indicates that the characters which follow, until the |
| 41 |
# next semicolon, should be considered vowels. There may be multiple "vowel" |
| 42 |
# statements, and the characters following all of them will be considered |
| 43 |
# vowels. |
| 44 |
vowel aàáâAÀÁÂ; |
| 45 |
vowel eèéêëEÈÉÊË; |
| 46 |
vowel iìíîIÌÍÎ; |
| 47 |
vowel oòóôOÒÓÔ; |
| 48 |
vowel uùúûUÙÚÛ; |
| 49 |
vowel yỳýYỲÝ; |
| 50 |
vowel æǽÆǼ; |
| 51 |
vowel œŒ; |
| 52 |
|
| 53 |
# The "prefix" keyword lists strings of characters which end in a vowel, but |
| 54 |
# when followed by a sequence of vowels, SHOULD NOT be considered part of the |
| 55 |
# vowel sound. These strings follow the keyword and must be separated by space |
| 56 |
# and end with a semicolon. There may be multiple "prefix" statements, and all |
| 57 |
# will apply. Examples of prefixes include "i" and "u" in Latin and "qu" in |
| 58 |
# English. |
| 59 |
prefix qu Qu qU QU; |
| 60 |
prefix gu Gu gU GU; |
| 61 |
prefix y Y; |
| 62 |
|
| 63 |
# The "suffix" keyword lists strings of characters which don't start with a |
| 64 |
# vowel, but when appearing after a sequence of vowels, SHOULD be considered |
| 65 |
# part of the vowel sound. These strings follow the keyword and must be |
| 66 |
# separated by space and end with a semicolon. There may be multiple "suffix" |
| 67 |
# statements, and all will apply. Examples of suffixes include "w" and "we" in |
| 68 |
# English and "y" in Spanish. |
| 69 |
suffix w W; |
| 70 |
suffix we We wE WE; |
| 71 |
|
| 72 |
# The "secondary" keyword lists strings of characters which do not contain |
| 73 |
# vowels, but for which, when there are no vowels present in a syllable, define |
| 74 |
# the center of the syllable. These strings follow the keyword and must be |
| 75 |
# separated by space and end with a semicolon. Examples of secondary sequences |
| 76 |
# include "w" from Welsh loanwords in English and the syllabic consonants "l" |
| 77 |
# and "r" in Czech. |
| 78 |
secondary w W; |
| 79 |
|
| 80 |
alias [polish] to [pl]; |
| 81 |
alias [Polish] to [pl]; |
| 82 |
alias [pol] to [pl]; |
| 83 |
alias [pl] to [cu]; |
| 84 |
|
| 85 |
alias [czech] to [cs]; |
| 86 |
alias [Czech] to [cs]; |
| 87 |
alias [ces] to [cs]; |
| 88 |
alias [cze] to [cs]; |
| 89 |
alias [cs] to [cu]; |
| 90 |
|
| 91 |
alias [slovak] to [sk]; |
| 92 |
alias [Slovak] to [sk]; |
| 93 |
alias [slk] to [sk]; |
| 94 |
alias [slo] to [sk]; |
| 95 |
alias [sk] to [cu]; |
| 96 |
|
| 97 |
alias [Slavic] to [cu]; |
| 98 |
alias [slavic] to [cu]; |
| 99 |
alias [Church Slavic] to [cu]; |
| 100 |
alias [church slavic] to [cu]; |
| 101 |
alias [Church Slavonic] to [cu]; |
| 102 |
alias [church slavonic] to [cu]; |
| 103 |
alias [Old Church Slavonic] to [cu]; |
| 104 |
alias [old church slavonic] to [cu]; |
| 105 |
alias [Old Slavonic] to [cu]; |
| 106 |
alias [old slavonic] to [cu]; |
| 107 |
alias [Old Bulgarian] to [cu]; |
| 108 |
alias [old bulgarian] to [cu]; |
| 109 |
alias [chu] to [cu]; |
| 110 |
|
| 111 |
language [cu]; |
| 112 |
|
| 113 |
vowel aàáâąAÀÁÂĄ; |
| 114 |
vowel eèéêëěęEÈÉÊËĚĘ; |
| 115 |
vowel iìíîIÌÍÎ; |
| 116 |
vowel oòóôOÒÓÔ; |
| 117 |
vowel uùúûůUÙÚÛŮ; |
| 118 |
vowel yỳýYỲÝ; |
| 119 |
vowel æǽÆǼ; |
| 120 |
vowel œŒ; |
| 121 |
|
| 122 |
secondary l L ĺ Ĺ; |
| 123 |
secondary r R ŕ Ŕ; |
| 124 |
secondary m M; |
| 125 |
|
| 126 |
alias [hungarian] to [hu]; |
| 127 |
alias [Hungarian] to [hu]; |
| 128 |
alias [hun] to [hu]; |
| 129 |
|
| 130 |
language [hu]; |
| 131 |
|
| 132 |
vowel aáAÁ; |
| 133 |
vowel éeëÉEË; |
| 134 |
vowel iíIÍ; |
| 135 |
vowel oóöőOÓÖŐ; |
| 136 |
vowel uúüűUÚÜŰ; |