Schema
Class for defining a schema for transliteration.
Remarks
Examples are truncated for brevity.
Extended by
Implements
SylOptsSchemaVowels
Constructors
new Schema()
new Schema(
schema):Schema
Parameters
| Parameter | Type |
|---|---|
schema | Schema |
Returns
Defined in
Consonants
ALEF
ALEF:
string
HEBREW LETTER ALEF (U+05D0) א
Example
const schema = new Schema({ // truncated for brevity ALEF: "ʾ",});transliterate("אָב", schema);// ʾābDefined in
AYIN
AYIN:
string
HEBREW LETTER AYIN (U+05E2) ע
Example
const schema = new Schema({ // truncated for brevity AYIN: "ʿ",});transliterate("עָ֑יִן", schema);// ʿāyinDefined in
BET
BET:
string
HEBREW LETTER BET (U+05D1) ב
Example
const schema = new Schema({ // truncated for brevity BET: "b",});transliterate("בְּבֵית", schema);// bəbêtDefined in
BET_DAGESH?
optionalBET_DAGESH:string
HEBREW LETTER BET (U+05D1) and DAGESH (U+05BC) ּב
Examples
With only BET set
const schema = new Schema({ // truncated for brevity BET: "b",});transliterate("בְּבֵית", schema);// bəbêtWith BET and BET_DAGESH set
const schema = new Schema({ // truncated for brevity BET: "v", BET_DAGESH: "b",});transliterate("בְּבֵית", schema);// bəvêtRemarks
The letter bet with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
DALET
DALET:
string
HEBREW LETTER DALET (U+05D3) ד
Example
const schema = new Schema({ // truncated for brevity DALET: "d",});transliterate("דֹּ֣ד", schema);// dōdDefined in
DALET_DAGESH?
optionalDALET_DAGESH:string
HEBREW LETTER DALET (U+05D3) and DAGESH (U+05BC) דּ
Examples
With only DALET set
const schema = new Schema({ // truncated for brevity DALET: "d",});transliterate("דֹּ֣ד", schema);// dōdWith DALET and DALET_DAGESH set
const schema = new Schema({ // truncated for brevity DALET: "dh", DALET_DAGESH: "d",});transliterate("דֹּ֣ד", schema);// dōdhRemarks
The letter dalet with a dagesh kal. Ue when need to distinguish between spirantized forms
Defined in
FINAL_KAF
FINAL_KAF:
string
HEBREW LETTER FINAL KAF (U+05DA) ך
Example
const schema = new Schema({ // truncated for brevity FINAL KAF: "k",});transliterate("לֶךְ", schema);// lekDefined in
FINAL_MEM
FINAL_MEM:
string
HEBREW LETTER FINAL MEM (U+05DD) ם
Example
const schema = new Schema({ // truncated for brevity FINAL MEM: "m",});transliterate("מַ֖יִם", schema);// mayimDefined in
FINAL_NUN
FINAL_NUN:
string
HEBREW LETTER FINAL NUN (U+05DF) ן
Example
const schema = new Schema({ // truncated for brevity FINAL NUN: "n",});transliterate("נ֔וּן", schema);// nûnDefined in
FINAL_PE
FINAL_PE:
string
HEBREW LETTER FINAL PE (U+05E3) ף
Example
const schema = new Schema({ // truncated for brevity FINAL PE: "p",});transliterate("כַּ֣ף", schema);// kapDefined in
FINAL_TSADI
FINAL_TSADI:
string
HEBREW LETTER FINAL TSADI (U+05E5) ץ
Example
const schema = new Schema({ // truncated for brevity FINAL TSADI: "ṣ",});transliterate("צָ֚ץ", schema);// ṣāṣDefined in
GIMEL
GIMEL:
string
HEBREW LETTER GIMEL (U+05D2) ג
Example
const schema = new Schema({ // truncated for brevity GIMEL: "g",});transliterate("גַּ֣גּ", schema);// gagDefined in
GIMEL_DAGESH?
optionalGIMEL_DAGESH:string
HEBREW LETTER GIMEL (U+05D2) and DAGESH (U+05BC) גּ
Examples
With only GIMEL set
const schema = new Schema({ // truncated for brevity GIMEL: "g"});transliterate("גַּ֣ג", schema);// gagWith GIMEL and GIMEL_DAGESH set
const schema = new Schema({ // truncated for brevity GIMEL: "gh", GIMEL_DAGESH: "g",});transliterate("גַּ֣ג", schema);// gaghRemarks
The letter gimel with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
HE
HE:
string
HEBREW LETTER HE (U+05D4) ה
Example
const schema = new Schema({ // truncated for brevity HE: "h",});transliterate("הֵ֗ם", schema);// hēmDefined in
HET
HET:
string
HEBREW LETTER HET (U+05D7) ח
Example
const schema = new Schema({ // truncated for brevity HET: "ḥ"});transliterate("חַ֣ג", schema);// ḥagDefined in
KAF
KAF:
string
HEBREW LETTER KAF (U+05DB) כ
Example
const schema = new Schema({ // truncated for brevity KAF: "k",});transliterate("כָּ֚כָה", schema);// kākâDefined in
KAF_DAGESH?
optionalKAF_DAGESH:string
HEBREW LETTER KAF (U+05DB) and DAGESH (U+05BC) כּ
Examples
With only KAF set
const schema = new Schema({ // truncated for brevity KAF: "k",});transliterate("כָּ֚כָה", schema);// kākâWith KAF set and KAF_DAGESH set
const schema = new Schema({ // truncated for brevity KAF: "kh", KAF_DAGESH: "k",});transliterate("כָּ֚כָה", schema);// kākhâRemarks
The letter kaf with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
LAMED
LAMED:
string
HEBREW LETTER LAMED (U+05DC) ל
Example
const schema = new Schema({ // truncated for brevity LAMED: "l",});transliterate("עַל", schema);// ʿalDefined in
MEM
MEM:
string
HEBREW LETTER MEM (U+05DE) מ
Example
const schema = new Schema({ // truncated for brevity MEM: "m",});transliterate("מַ֖יִם", schema);// mayimDefined in
NUN
NUN:
string
HEBREW LETTER NUN (U+05E0) נ
Example
const schema = new Schema({ // truncated for brevity NUN: "n",});transliterate("נ֔וּן", schema);// nûnDefined in
PE
PE:
string
HEBREW LETTER PE (U+05E4) פ
Example
const schema = new Schema({ // truncated for brevity PE: "p",});transliterate("פֶּ֣רֶא חָפְשִׁ֑י", schema);// pereʾ ḥopšîDefined in
PE_DAGESH?
optionalPE_DAGESH:string
HEBREW LETTER PE (U+05E4) and DAGESH (U+05BC) פּ
Examples
With only PE set
const schema = new Schema({ // truncated for brevity PE_DAGESH: "p",});transliterate("פֶּ֣רֶא חָפְשִׁ֑י", schema);// pereʾ ḥopšîWith PE and PE_DAGESH set
const schema = new Schema({ // truncated for brevity PE: "f", PE_DAGESH: "p",});transliterate("פֶּ֣רֶא חָפְשִׁ֑י", schema);// pereʾ ḥofšîRemarks
The letter pe with a dagesh kal Use when need to distinguish between spirantized forms
Defined in
QOF
QOF:
string
HEBREW LETTER QOF (U+05E7) ק
Example
const schema = new Schema({ // truncated for brevity QOF: "q",});transliterate("רַ֥ק", schema);// raqDefined in
RESH
RESH:
string
HEBREW LETTER RESH (U+05E8) ר
Example
const schema = new Schema({ // truncated for brevity RESH: "r",});transliterate("רַ֥ק", schema);// raqDefined in
SAMEKH
SAMEKH:
string
HEBREW LETTER SAMEKH (U+05E1) ס
Example
const schema = new Schema({ // truncated for brevity SAMEKH: "s",});transliterate("ס֥וּס", schema);// sûsDefined in
SHIN
SHIN:
string
HEBREW LETTER SHIN (U+05E9) and SHIN DOT (U+05C1) שׁ
Example
const schema = new Schema({ // truncated for brevity SHIN: "š",});transliterate("שֵׁ֖ן", schema);// šēnDefined in
SIN
SIN:
string
HEBREW LETTER SHIN (U+05E9) and SIN DOT (U+05C2) שׁ
Example
const schema = new Schema({ // truncated for brevity SIN: "ś",});transliterate("כַּשְׂדִּ֔ים", schema);// kaśdîmDefined in
TAV
TAV:
string
HEBREW LETTER TAV (U+05EA) ת
Example
const schema = new Schema({ // truncated for brevity TAV: "t",});transliterate("תֵּ֛ת", schema);// tētDefined in
TAV_DAGESH?
optionalTAV_DAGESH:string
HEBREW LETTER TAV (U+05EA) and DAGESH (U+05BC) תּ
Examples
With only TAV set
const schema = new Schema({ // truncated for brevity TAV: "t",});transliterate("תֵּ֛ת", schema);// tētWith TAV and TAV_DAGESH set
const schema = new Schema({ // truncated for brevity TAV: "th", TAV_DAGESH: "t",});transliterate("תֵּ֛ת", schema);// tēthRemarks
The letter tav with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
TET
TET:
string
HEBREW LETTER TET (U+05D8) ט
Example
const schema = new Schema({ // truncated for brevity TET: "ṭ",});transliterate("טִֽיט", schema);// ṭîṭDefined in
TSADI
TSADI:
string
HEBREW LETTER TSADI (U+05E6) צ
Example
const schema = new Schema({ // truncated for brevity TSADI: "ṣ",});transliterate("צָ֚ץ", schema);// ṣāṣDefined in
VAV
VAV:
string
HEBREW LETTER VAV (U+05D5) ו
Example
const schema = new Schema({ // truncated for brevity VAV: "w",});transliterate("וָוִ֖ים", schema);// wāwîmDefined in
YOD
YOD:
string
HEBREW LETTER YOD (U+05D9) י
Example
const schema = new Schema({ // truncated for brevity YOD: "y",});transliterate("יָ֗ד", schema);// yādDefined in
ZAYIN
ZAYIN:
string
HEBREW LETTER ZAYIN (U+05D6) ז
Example
const schema = new Schema({ // truncated for brevity ZAYIN: "z",});transliterate("זֵ֣ד", schema);// zēdDefined in
Marks
DAGESH
DAGESH:
string
HEBREW POINT DAGESH OR MAPIQ (U+05BC) ּ◌
Examples
A blank string
const schema = new Schema({ // truncated for brevity DAGESH: "",});transliterate("כֵּ֑ן", schema);// kēnA character
const schema = new Schema({ // truncated for brevity DAGESH: ".",});transliterate("כֵּ֑ן", schema);// k.ēnRemarks
Typically, this should be a blank string.
Defined in
DAGESH_CHAZAQ
DAGESH_CHAZAQ:
string|boolean
HEBREW POINT DAGESH OR MAPIQ (U+05BC) ּ◌
A string or boolean, and if set to true, the consonant with the dagesh is repeated.
Examples
As a string
const schema = new Schema({ // truncated for brevity DAGESH_CHAZAQ: "\u0301",});transliterate("שַׁבָּת", schema);// šab́ātAs a boolean
const schema = new Schema({ // truncated for brevity DAGESH_CHAZAQ: true,});transliterate("שַׁבָּת", schema);// šabbātDefined in
MAQAF
MAQAF:
string
HEBREW PUNCTUATION MAQAF (U+05BE) ־◌
Example
const schema = new Schema({ // truncated for brevity { MAQAF: "-" }});transliterate("אַל־", schema);// ʾal-Defined in
PASEQ
PASEQ:
string
HEBREW PUNCTUATION PASEQ (U+05C0) ׀ ◌
Example
const schema = new Schema({ // truncated for brevity PASEQ: "",})transliterate("כְּשֶׁ֣בֶת ׀ הַמֶּ֣לֶךְ", schema);// kəšebet hammelekRemarks
If a blank string, two spaces will occur between words; see example.
Defined in
SOF_PASUQ
SOF_PASUQ:
string
HEBREW PUNCTUATION SOF PASUQ (U+05C3) ׃◌
Example
const schema = new Schema({ // truncated for brevity SOF_PASUQ: ".",});transliterate("הָאָֽרֶץ׃", schema);// hāʾāreṣ.Defined in
Orthographic Features
ADDITIONAL_FEATURES?
optionalADDITIONAL_FEATURES: (WordFeature|SyllableFeature|ClusterFeature)[]
Rules for customized output
This property is an array of objects with the following properties each:
FEATURE: the type of feature that the rule is checking — “word”, “syllable”, or “cluster”HEBREW: the Hebrew text that the rule matches, given as a string or RegexPASS_THROUGH?: An optional property;trueif the rule should pass the characters of the result of theTRANSLITERATIONcallback to the be mapped to the schemaTRANSLITERATION: the output of the rule, either a string or a callback whose properties differ based on theFEATURE
The examples give the best indication of how to use these features, though see the particular types for more details
Examples
FEATURE is "word" and TRANSLITERATION is a string
const schema = new Schema({ // truncated for brevity ADDITIONAL_FEATURES: [{ FEATURE: "word", HEBREW: "הָאָרֶץ", TRANSLITERATION: "The Earth" }]})transliterate("וְאֵ֥ת הָאָֽרֶץ", schema);// wəʾēt The EarthFEATURE is "word" and TRANSLITERATION is a callback
const schema = new Schema({ // truncated for brevity ADDITIONAL_FEATURES: [{ HEBREW: "שְׁתַּיִם", FEATURE: "word", TRANSLITERATION: function (_word, _hebrew, schema) { return ( schema["SHIN"] + (schema["TAV_DAGESH"] ?? schema["TAV"]) + schema["PATAH"] + schema["YOD"] + schema["HIRIQ"] + schema["FINAL_MEM"] ); } }]});transliterate("שְׁתַּיִם", schema);// štayimFEATURE is "syllable" and TRANSLITERATION is a string
const schema = new Schema({ // truncated for brevity ADDITIONAL_FEATURES: [{ FEATURE: "syllable", HEBREW: /יּ(?![\u{05B4}-\u{05BB}])/u, // a yod with a dagesh, not followed by a vowel character TRANSLITERATION: "Y" }]});transliterate("מְחִיּיָאֵ֗ל", schema);// məḥiYyāʾēlFEATURE is "syllable" and TRANSLITERATION is a callback
const schema = new Schema({ // truncated for brevity ADDITIONAL_FEATURES: [{ FEATURE: "syllable", HEBREW: /\u{05C7}/u, TRANSLITERATION: (syllable) => { // If the syllable contains a qamets qatan character (U+05C7), check the text of the next syllable const next = syllable?.next?.value?.text;
// If the next syllable includes a hateph qamets, then replace the qamets qatan with a regular qamets if (next && next.includes("\u05B3")) { return syllable.text.replace("\u{05C7}", "\u{05B8}"); } return syllable.text; } }]});transliterate("נָעֳמִי֙", schema);// nāʿŏmîFEATURE is "cluster" and TRANSLITERATION is a string
const schema = new Schema({ // truncated for brevity ADDITIONAL_FEATURES: [{ FEATURE: "cluster", HEBREW: "זּ", TRANSLITERATION: "tz" }]});;transliterate("הַזֹּאת", schema);// hatzōʾtFEATURE is “cluster” and TRANSLITERATION is a callback
const schema = new Schema({ // truncated for brevity TAV_DAGESH: "tʰ",, ADDITIONAL_FEATURES: [{ FEATURE: 'cluster', HEBREW: /תּ(?!\u{05B0})/u, TRANSLITERATION: (cluster, _, schema) => { // Because the *_DAGESH value is a digraph, we need to replace the first character // or it will be doubled in rules.ts as "tʰtʰ"
// If there is a dagesh, but it is the beginning of the word // we can return the text, as the character w/ the dagesh will not be doubled if (!cluster.prev || cluster.prev.value?.isNotHebrew) { return cluster.text; }
// If there is a dagesh, it may be that it is a dagesh qal (i.e. lene) // If it is a dagesh lene, then like the beginning of the word, // the character w/ the dagesh will not be doubled const prevCoda = cluster.syllable?.prev?.value?.codaWithGemination; if (!prevCoda?.includes("ת",)) { return cluster.text; }
// convert "tʰtʰ" to "ttʰ" const noAspiration = schema['TAV_DAGESH']?.replace("ʰ",, '') ?? ''; return cluster.text.replace("תּ",,`${noAspiration + schema['TAV_DAGESH']}`); }, }]});transliterate("וַתֵּ֨שֶׁב", schema);// wattʰēšebDefined in
BET_DAGESH?
optionalBET_DAGESH:string
HEBREW LETTER BET (U+05D1) and DAGESH (U+05BC) ּב
Examples
With only BET set
const schema = new Schema({ // truncated for brevity BET: "b",});transliterate("בְּבֵית", schema);// bəbêtWith BET and BET_DAGESH set
const schema = new Schema({ // truncated for brevity BET: "v", BET_DAGESH: "b",});transliterate("בְּבֵית", schema);// bəvêtRemarks
The letter bet with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
DAGESH_CHAZAQ
DAGESH_CHAZAQ:
string|boolean
HEBREW POINT DAGESH OR MAPIQ (U+05BC) ּ◌
A string or boolean, and if set to true, the consonant with the dagesh is repeated.
Examples
As a string
const schema = new Schema({ // truncated for brevity DAGESH_CHAZAQ: "\u0301",});transliterate("שַׁבָּת", schema);// šab́ātAs a boolean
const schema = new Schema({ // truncated for brevity DAGESH_CHAZAQ: true,});transliterate("שַׁבָּת", schema);// šabbātDefined in
DALET_DAGESH?
optionalDALET_DAGESH:string
HEBREW LETTER DALET (U+05D3) and DAGESH (U+05BC) דּ
Examples
With only DALET set
const schema = new Schema({ // truncated for brevity DALET: "d",});transliterate("דֹּ֣ד", schema);// dōdWith DALET and DALET_DAGESH set
const schema = new Schema({ // truncated for brevity DALET: "dh", DALET_DAGESH: "d",});transliterate("דֹּ֣ד", schema);// dōdhRemarks
The letter dalet with a dagesh kal. Ue when need to distinguish between spirantized forms
Defined in
DIVINE_NAME
DIVINE_NAME:
string
The full form of the divine name - יהוה
Example
const schema = new Schema({ // truncated for brevity DIVINE_NAME: "yhwh",});transliterate("יְהֹוָ֗ה", schema);// yhwhDefined in
DIVINE_NAME_ELOHIM?
optionalDIVINE_NAME_ELOHIM:string
The full form of the divine name pointed as ‘elohim
Example
const schema = new Schema({ // truncated for brevity DIVINE_NAME_ELOHIM: "ʾĕlōhîm",});transliterate("יֱהֹוִה", schema);// ʾĕlōhîmRemarks
Matches on the forms:
- יֱהֹוִה
- יֱהוִה
- יְהֹוִה
- יְהוִה
If
undefined, defaults to value of DIVINE_NAME
Defined in
FURTIVE_PATAH
FURTIVE_PATAH:
string
HEBREW POINT PATAH (U+05B7) ◌ַ as a furtive patah
Example
const schema = new Schema({ // truncated for brevity FURTIVE_PATAH: "a",});transliterate("נֹ֖חַ", schema);// nōaḥDefined in
GIMEL_DAGESH?
optionalGIMEL_DAGESH:string
HEBREW LETTER GIMEL (U+05D2) and DAGESH (U+05BC) גּ
Examples
With only GIMEL set
const schema = new Schema({ // truncated for brevity GIMEL: "g"});transliterate("גַּ֣ג", schema);// gagWith GIMEL and GIMEL_DAGESH set
const schema = new Schema({ // truncated for brevity GIMEL: "gh", GIMEL_DAGESH: "g",});transliterate("גַּ֣ג", schema);// gaghRemarks
The letter gimel with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
HIRIQ_YOD
HIRIQ_YOD:
string
HEBREW POINT HIRIQ (U+05B4) and YOD (U+05D9) י◌ִ
Example
const schema = new Schema({ // truncated for brevity HIRIQ_YOD: "î",});transliterate("עִ֔יר", schema);// ʿîrDefined in
HOLAM_VAV
HOLAM_VAV:
string
HEBREW LETTER HOLAM (U+05B9) and VAV (U+05D5) ֹו◌
Example
const schema = new Schema({ // truncated for brevity HOLAM_VAV: "ô",});transliterate("ס֣וֹא", schema);// sôʾDefined in
KAF_DAGESH?
optionalKAF_DAGESH:string
HEBREW LETTER KAF (U+05DB) and DAGESH (U+05BC) כּ
Examples
With only KAF set
const schema = new Schema({ // truncated for brevity KAF: "k",});transliterate("כָּ֚כָה", schema);// kākâWith KAF set and KAF_DAGESH set
const schema = new Schema({ // truncated for brevity KAF: "kh", KAF_DAGESH: "k",});transliterate("כָּ֚כָה", schema);// kākhâRemarks
The letter kaf with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
MS_SUFX
MS_SUFX:
string
HEBREW LETTER QAMATS (U+05B8) and YOD (U+05D9) and VAV (U+05D5) יו◌ָ
Example
const schema = new Schema({ // truncated for brevity MS_SUFX: ”āyw”,});transliterate("יָדָ֛יו", schema);// yādāywDefined in
PATAH_HE?
optionalPATAH_HE:string
HEBREW POINT PATAH (U+05B7) and HE (U+05D4) ה◌ַ
Example
const schema = new Schema({ // truncated for brevity PATAH_HE: "â",});transliterate("מַה־", schema);// mâ-Defined in
PE_DAGESH?
optionalPE_DAGESH:string
HEBREW LETTER PE (U+05E4) and DAGESH (U+05BC) פּ
Examples
With only PE set
const schema = new Schema({ // truncated for brevity PE_DAGESH: "p",});transliterate("פֶּ֣רֶא חָפְשִׁ֑י", schema);// pereʾ ḥopšîWith PE and PE_DAGESH set
const schema = new Schema({ // truncated for brevity PE: "f", PE_DAGESH: "p",});transliterate("פֶּ֣רֶא חָפְשִׁ֑י", schema);// pereʾ ḥofšîRemarks
The letter pe with a dagesh kal Use when need to distinguish between spirantized forms
Defined in
QAMATS_HE
QAMATS_HE:
string
HEBREW POINT QAMATS (U+05B8) and HE (U+05D4) ה◌ָ
Example
const schema = new Schema({ // truncated for brevity QAMATS_HE: "â",});transliterate("עֵצָ֖ה", schema);// ʿēṣâDefined in
SEGOL_HE?
optionalSEGOL_HE:string
HEBREW POINT SEGOL (U+05B6) and HE (U+05D4) ה◌ֶ
Example
const schema = new Schema({ // truncated for brevity SEGOL_HE: "ê",});transliterate("יִקְרֶ֥ה", schema);// yiqrêDefined in
SEGOL_YOD
SEGOL_YOD:
string
HEBREW POINT SEGOL (U+05B6) and YOD (U+05D9) י◌ֶ
Example
const schema = new Schema({ // truncated for brevity SEGOL_YOD: "ê",});transliterate("אֱלֹהֶ֑יךָ", schema);// ʾĕlōhêkāDefined in
SHIN
SHIN:
string
HEBREW LETTER SHIN (U+05E9) and SHIN DOT (U+05C1) שׁ
Example
const schema = new Schema({ // truncated for brevity SHIN: "š",});transliterate("שֵׁ֖ן", schema);// šēnDefined in
SHUREQ
SHUREQ:
string
HEBREW LETTER VAV (U+05D5) and DAGESH (U+05BC) וּ
Example
const schema = new Schema({ // truncated for brevity SHUREQ: "û",});transliterate("קוּם", schema);// qûmDefined in
SIN
SIN:
string
HEBREW LETTER SHIN (U+05E9) and SIN DOT (U+05C2) שׁ
Example
const schema = new Schema({ // truncated for brevity SIN: "ś",});transliterate("כַּשְׂדִּ֔ים", schema);// kaśdîmDefined in
STRESS_MARKER?
optionalSTRESS_MARKER: {exclude:"never"|"final"|"single";location:"before-syllable"|"after-syllable"|"before-vowel"|"after-vowel";mark:string; }
A mark for indentifying the stressed syllable
exclude?
optionalexclude:"never"|"final"|"single"
Whether to exclude the mark on certain syllables
Default
"never"Examples
undefined and "never" are the same
const schema = new Schema({ STRESS_MARKER: { location: "after-vowel", mark: "\u0301", },});transliterate("בֹּ֖קֶר י֥וֹם אֶחָֽד׃ ", schema);// bṓqer yốm ʾeḥā́dExclude only single syllable words using "single"
const schema = new Schema({ STRESS_MARKER: { location: "after-vowel", mark: "\u0301", exclude: "single", },});transliterate("בֹּ֖קֶר י֥וֹם אֶחָֽד׃ ", schema);// bṓqer yôm ʾeḥā́dExclude when accent is on the final syllable, implicitly excluding single syllable words using "final"
const schema = new Schema({ STRESS_MARKER: { location: "after-vowel", mark: "\u0301", exclude: "final", },});transliterate("בֹּ֖קֶר י֥וֹם אֶחָֽד׃ ", schema);// bṓqer yôm ʾeḥādlocation
location:
"before-syllable"|"after-syllable"|"before-vowel"|"after-vowel"
The location of the mark
mark
mark:
string
A string to use as the marker
Example
const schema = new Schema({ // truncated for brevity STRESS_MARKER: { location: "after-vowel", mark: "\u0301", },});transliterate("מֶ֣לֶךְ", schema);// mélekRemarks
Taamim are needed in the Hebrew text to correctly identify stress.
Defined in
SYLLABLE_SEPARATOR?
optionalSYLLABLE_SEPARATOR:string
A syllable separator, usually an empty string
Example
const schema = new Schema({ // truncated for brevity SYLLABLE_SEPARATOR: "-",});transliterate('הָאָֽרֶץ', schema);// hā-ʾā-reṣDefined in
TAV_DAGESH?
optionalTAV_DAGESH:string
HEBREW LETTER TAV (U+05EA) and DAGESH (U+05BC) תּ
Examples
With only TAV set
const schema = new Schema({ // truncated for brevity TAV: "t",});transliterate("תֵּ֛ת", schema);// tētWith TAV and TAV_DAGESH set
const schema = new Schema({ // truncated for brevity TAV: "th", TAV_DAGESH: "t",});transliterate("תֵּ֛ת", schema);// tēthRemarks
The letter tav with a dagesh kal. Use when need to distinguish between spirantized forms
Defined in
TSERE_HE?
optionalTSERE_HE:string
HEBREW POINT TSERE (U+05B5) and HE (U+05D4) ה◌ֵ
Example
const schema = new Schema({ // truncated for brevity TSERE_HE: "ê",});transliterate("הָאַרְיֵ֔ה", schema);// hāʾaryêDefined in
TSERE_YOD
TSERE_YOD:
string
HEBREW POINT TSERE (U+05B5) and YOD (U+05D9) י◌ֵ
Example
const schema = new Schema({ // truncated for brevity TSERE_YOD: "ê",});transliterate("אֵ֤ין", schema);// ʾênDefined in
Syllabification
allowNoNiqqud
allowNoNiqqud:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
article
article:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
holemHaser
holemHaser:
undefined|"update"|"preserve"|"remove"
Remarks
See implementation for more details
Implementation of
Defined in
ketivQeres?
optionalketivQeres:KetivQere[]
Remarks
See implementation for more details
Implementation of
Defined in
longVowels
longVowels:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
qametsQatan
qametsQatan:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
shevaAfterMeteg
shevaAfterMeteg:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
shevaWithMeteg?
optionalshevaWithMeteg:boolean
Remarks
See implementation for more details
Implementation of
Defined in
sqnmlvy
sqnmlvy:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
strict
strict:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
wawShureq
wawShureq:
undefined|boolean
Remarks
See implementation for more details
Implementation of
Defined in
Taamim
MAQAF
MAQAF:
string
HEBREW PUNCTUATION MAQAF (U+05BE) ־◌
Example
const schema = new Schema({ // truncated for brevity { MAQAF: "-" }});transliterate("אַל־", schema);// ʾal-Defined in
SOF_PASUQ
SOF_PASUQ:
string
HEBREW PUNCTUATION SOF PASUQ (U+05C3) ׃◌
Example
const schema = new Schema({ // truncated for brevity SOF_PASUQ: ".",});transliterate("הָאָֽרֶץ׃", schema);// hāʾāreṣ.Defined in
Vowels
FURTIVE_PATAH
FURTIVE_PATAH:
string
HEBREW POINT PATAH (U+05B7) ◌ַ as a furtive patah
Example
const schema = new Schema({ // truncated for brevity FURTIVE_PATAH: "a",});transliterate("נֹ֖חַ", schema);// nōaḥDefined in
HATAF_PATAH
HATAF_PATAH:
string
HEBREW POINT HATAF PATAH (U+05B2) ֲ◌
Example
const schema = new Schema({ // truncated for brevity HATAF_PATAH: "ă",});transliterate("נַֽעֲשֶׂ֥ה", schema);// naʿăśêImplementation of
SchemaVowels.HATAF_PATAH
Defined in
HATAF_QAMATS
HATAF_QAMATS:
string
HEBREW POINT HATAF QAMATS (U+05B3) ֳ◌
Example
const schema = new Schema({ // truncated for brevity HATAF_QAMATS: "ŏ",});transliterate("אֳרָנִים", schema);// ʾŏrānîmImplementation of
SchemaVowels.HATAF_QAMATS
Defined in
HATAF_SEGOL
HATAF_SEGOL:
string
HEBREW POINT HATAF SEGOL (U+05B1) ֱ◌
Example
const schema = new Schema({ // truncated for brevity HATAF_SEGOL: "ĕ",});transliterate("אֱלֹהִ֑ים", schema);// ʾĕlōhîmImplementation of
SchemaVowels.HATAF_SEGOL
Defined in
HIRIQ
HIRIQ:
string
HEBREW POINT HIRIQ (U+05B4) ִ◌
Example
const schema = new Schema({ // truncated for brevity HIRIQ: "i",});transliterate("הִנֵּה֩", schema);// hinnêImplementation of
SchemaVowels.HIRIQ
Defined in
HIRIQ_YOD
HIRIQ_YOD:
string
HEBREW POINT HIRIQ (U+05B4) and YOD (U+05D9) י◌ִ
Example
const schema = new Schema({ // truncated for brevity HIRIQ_YOD: "î",});transliterate("עִ֔יר", schema);// ʿîrDefined in
HOLAM
HOLAM:
string
HEBREW POINT HOLAM (U+05B9) ֹ◌
Example
const schema = new Schema({ // truncated for brevity HOLAM: "ō",});transliterate("לֹא", schema);// lōʾImplementation of
SchemaVowels.HOLAM
Defined in
HOLAM_HASER
HOLAM_HASER:
string
HEBREW POINT HOLAM HASER FOR VAV (U+05BA) ֹ◌
Example
const schema = new Schema({ // truncated for brevity HOLAM_HASER: "ō",});transliterate("עָוֺן֙", schema);// ʿāwōnRemarks
See holemHaser for more about this character
Implementation of
SchemaVowels.HOLAM_HASER
Defined in
HOLAM_VAV
HOLAM_VAV:
string
HEBREW LETTER HOLAM (U+05B9) and VAV (U+05D5) ֹו◌
Example
const schema = new Schema({ // truncated for brevity HOLAM_VAV: "ô",});transliterate("ס֣וֹא", schema);// sôʾDefined in
MS_SUFX
MS_SUFX:
string
HEBREW LETTER QAMATS (U+05B8) and YOD (U+05D9) and VAV (U+05D5) יו◌ָ
Example
const schema = new Schema({ // truncated for brevity MS_SUFX: ”āyw”,});transliterate("יָדָ֛יו", schema);// yādāywDefined in
PATAH
PATAH:
string
HEBREW POINT PATAH (U+05B7) ַ◌
Example
const schema = new Schema({ // truncated for brevity PATAH: "a",});transliterate("נַ֗עַר", schema);// naʿarImplementation of
SchemaVowels.PATAH
Defined in
PATAH_HE?
optionalPATAH_HE:string
HEBREW POINT PATAH (U+05B7) and HE (U+05D4) ה◌ַ
Example
const schema = new Schema({ // truncated for brevity PATAH_HE: "â",});transliterate("מַה־", schema);// mâ-Defined in
QAMATS
QAMATS:
string
HEBREW POINT QAMATS (U+05B8) ָ◌
Example
const schema = new Schema({ // truncated for brevity QAMATS: "ā",});transliterate("דָבָר֙", schema);// dābārImplementation of
SchemaVowels.QAMATS
Defined in
QAMATS_HE
QAMATS_HE:
string
HEBREW POINT QAMATS (U+05B8) and HE (U+05D4) ה◌ָ
Example
const schema = new Schema({ // truncated for brevity QAMATS_HE: "â",});transliterate("עֵצָ֖ה", schema);// ʿēṣâDefined in
QAMATS_QATAN
QAMATS_QATAN:
string
HEBREW POINT QAMATS QATAN (U+05C7) ׇ◌
Example
const schema = new Schema({ // truncated for brevity QAMATS QATAN: "o",});transliterate("כָּל־הָעָ֖ם", schema);// kol-hāʿāmRemarks
See qametsQatan for details about this character.
Implementation of
SchemaVowels.QAMATS_QATAN
Defined in
QUBUTS
QUBUTS:
string
HEBREW POINT QUBUTS (U+05BB) ֻ◌
Example
const schema = new Schema({ // truncated for brevity QUBUTS: "u",});transliterate("קֻ֣ם", schema);// qūmImplementation of
SchemaVowels.QUBUTS
Defined in
SEGOL
SEGOL:
string
HEBREW POINT SEGOL (U+05B6) ֶ◌
Example
const schema = new Schema({ // truncated for brevity SEGOL: "e",});transliterate("אֶל", schema);// ʾelImplementation of
SchemaVowels.SEGOL
Defined in
SEGOL_HE?
optionalSEGOL_HE:string
HEBREW POINT SEGOL (U+05B6) and HE (U+05D4) ה◌ֶ
Example
const schema = new Schema({ // truncated for brevity SEGOL_HE: "ê",});transliterate("יִקְרֶ֥ה", schema);// yiqrêDefined in
SEGOL_YOD
SEGOL_YOD:
string
HEBREW POINT SEGOL (U+05B6) and YOD (U+05D9) י◌ֶ
Example
const schema = new Schema({ // truncated for brevity SEGOL_YOD: "ê",});transliterate("אֱלֹהֶ֑יךָ", schema);// ʾĕlōhêkāDefined in
SHUREQ
SHUREQ:
string
HEBREW LETTER VAV (U+05D5) and DAGESH (U+05BC) וּ
Example
const schema = new Schema({ // truncated for brevity SHUREQ: "û",});transliterate("קוּם", schema);// qûmDefined in
TSERE
TSERE:
string
HEBREW POINT TSERE (U+05B5) ֵ◌
Example
const schema = new Schema({ // truncated for brevity TSERE: "ē",});transliterate("אֵשׁ", schema);// ʾēšImplementation of
SchemaVowels.TSERE
Defined in
TSERE_HE?
optionalTSERE_HE:string
HEBREW POINT TSERE (U+05B5) and HE (U+05D4) ה◌ֵ
Example
const schema = new Schema({ // truncated for brevity TSERE_HE: "ê",});transliterate("הָאַרְיֵ֔ה", schema);// hāʾaryêDefined in
TSERE_YOD
TSERE_YOD:
string
HEBREW POINT TSERE (U+05B5) and YOD (U+05D9) י◌ֵ
Example
const schema = new Schema({ // truncated for brevity TSERE_YOD: "ê",});transliterate("אֵ֤ין", schema);// ʾênDefined in
VOCAL_SHEVA
VOCAL_SHEVA:
string
HEBREW POINT SHEVA (U+05B0) ְ◌
Example
const schema = new Schema({ // truncated for brevity VOCAL_SHEVA: "ə",});transliterate("סְלִ֣ק", schema);// səliq