-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: DAGESH_CHAZAQ character addition #41
Comments
Also for STRESS_MARKER, maybe add a field to specify not to add the mark if it's at the expected/default location which is the last syllable. "always": false, for the default. "always": true, for the current behavior. |
Thanks for the ideas! I recently had a new addition to my family so work on this project has been slowed.
That could be done. As an exmple: transliterate("שַׁבָּת", { DAGESH_CHAZAQ: "̂" }) ;
// šab̂āt If that's not what you're suggesting, please put a sample.
Is this what you're suggesting: transliterate("שַׁבָּת אֶרֶץ", { STRESS_MARKER : {
location:'after-vowel',
mark: '\u0301',
always: false
});
// šabbāt ʾéreṣ |
@charlesLoder exactly what I was trying to convey. Thank you. |
That would be helpful. It might be problematic at times with combining diacritical when using e.g. sh for SHIN or tz for TSADI - two letter. |
That's a good point, but unfortunately unavoidable. For the SBL Simple schema, ensuring that a shin/tsadi with a dagesh chazaq is doubled, requires using an additional feature. ADDITIONAL_FEATURES: [
{
FEATURE: "cluster",
HEBREW: "\u{05E9}\u{05C1}\u{05BC}",
TRANSLITERATION: "sh"
},
{
FEATURE: "cluster",
HEBREW: "\u{05E6}\u{05BC}",
TRANSLITERATION: "ts"
}
], So if a user wanted to use an acute accent as a dagesh marker and use a digraph for shin/tsadi, it would have to look something like: DAGESH_CHAZAQ: "\u0301",
ADDITIONAL_FEATURES: [
{
FEATURE: "cluster",
HEBREW: "\u{05E9}\u{05C1}\u{05BC}",
TRANSLITERATION: "śh" // or whatever
},
{
FEATURE: "cluster",
HEBREW: "\u{05E6}\u{05BC}",
TRANSLITERATION: "tś" // or whatever
}
], That is some duplication of work, but a schema assumes a one-to-one correspondence between Hebrew and transliteration. |
Is it possible to overload DAGESH_CHAZAQ to accept a character, like a combining circumflex for example. And it will be applied to any dagesh forte (but not lene) and to mappiq He as well. Thank you.
The text was updated successfully, but these errors were encountered: