Comments (5)
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.
from hebrew-transliteration.
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.
from hebrew-transliteration.
Thanks for the ideas! I recently had a new addition to my family so work on this project has been slowed.
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.
That could be done.
As an exmple:
transliterate("שַׁבָּת", { DAGESH_CHAZAQ: "̂" }) ;
// šab̂āt
If that's not what you're suggesting, please put a sample.
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.
Is this what you're suggesting:
transliterate("שַׁבָּת אֶרֶץ", { STRESS_MARKER : {
location:'after-vowel',
mark: '\u0301',
always: false
});
// šabbāt ʾéreṣ
from hebrew-transliteration.
@charlesLoder exactly what I was trying to convey. Thank you.
from hebrew-transliteration.
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.
from hebrew-transliteration.
Related Issues (20)
- Problem with בִּנְגִינ֗וֹת HOT 1
- Add Tiberian Transcription Schema HOT 153
- Upgrade havarotjs
- Option for `STRESS_MARKER` to be excluded on default accent
- Improve documentation HOT 1
- Add `PASS_THROUGH` option HOT 3
- Paseq has stress marker
- Mid-word coda consonant without shva nah is silent (e.g. "יִשָּׂשכָר") HOT 6
- double marks HOT 4
- Maqqaf after shureq is dropped HOT 2
- SHEVA in Schema HOT 4
- Consider optimizing `ADDITIONAL_FEATURES` HOT 1
- Update furtive patach regex
- `ADDITIONAL_FEATURES` leaving stray shin/sin dot characters HOT 1
- Vocal Shewa HOT 23
- Add Journal of Semitic Studies schema HOT 5
- Add Sephardic IPA schema HOT 2
- Tiberian Jerusalem is incorrect
- Tiberian Issachar
- Help reproducing transliteration scheme from Reconstructionist siddur? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hebrew-transliteration.