You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to sort out the right schema to match the transliteration used in the Reconstructionist siddur Kol Haneshamah. (It seems to be very similar to the SBL General Purpose schema.)
The item that I'm having particular difficulty is the apostrophe added between vowel sounds which should be pronounced separately. Possibly this is already implemented in the codebase but I don't know the right terminology to find it?
Here's my attempt at the schema (configured through the web interface): kh-schema.json
The text was updated successfully, but these errors were encountered:
An additional feature can be used with a callback like this:
conststr=`אֵל חַי וְקַיָּם תָּמִיד יִמְלֹךְ עָלֵינוּ לְעוֹלָם וָעֶד׃`;transliterate(str,{
...customSchemaADDITIONAL_FEATURES: [// if you customize your customSchema like I did here// don't forget the features you already have, or they will get overwritten{HEBREW: /[עא]/,FEATURE: "cluster",TRANSLITERATION: (cluster,_,schema)=>{constsyllable=cluster.syllable;constonset=syllable.onset;constclusterText=cluster.text;// this would mean that the alef or ayin do not contain a vowelif(onset!="ע"&&onset!="א"){returnclusterText;}// this would mean that there is no vowel preceding the alef or ayin, thus no need to add an apostropheconstprevSyllable=syllable.prev?.value;if(!prevSyllable){returnclusterText;}constkey=onset==="ע" ? "AYIN" : "ALEF";returnclusterText.replace(onset,"'"+schema[key]);}}]});// el ḥay vekayam tamid yimloḥ alenu le'olam va'ed
The first is less integrated with the rules of the transliteration, but is probably easier to reason about. With the second, I imagine there are quite a few edge cases that could produce incorrect results.
Hi, I am trying to sort out the right schema to match the transliteration used in the Reconstructionist siddur Kol Haneshamah. (It seems to be very similar to the SBL General Purpose schema.)
As an example:
Is transliterated in the siddur as:
The item that I'm having particular difficulty is the apostrophe added between vowel sounds which should be pronounced separately. Possibly this is already implemented in the codebase but I don't know the right terminology to find it?
Here's my attempt at the schema (configured through the web interface): kh-schema.json
The text was updated successfully, but these errors were encountered: