Skip to content

Schema

Class for defining a schema for transliteration.

Remarks

Examples are truncated for brevity.

Extended by

Implements

Constructors

new Schema()

new Schema(schema): Schema

Parameters

ParameterType
schemaSchema

Returns

Schema

Defined in

src/schema.ts:1815

Consonants

ALEF

ALEF: string

HEBREW LETTER ALEF (U+05D0) א

Example

const schema = new Schema({
// truncated for brevity
ALEF: "ʾ",
});
transliterate("אָב", schema);
// ʾāb

Defined in

src/schema.ts:817


AYIN

AYIN: string

HEBREW LETTER AYIN (U+05E2) ע

Example

const schema = new Schema({
// truncated for brevity
AYIN: "ʿ",
});
transliterate("עָ֑יִן", schema);
// ʿāyin

Defined in

src/schema.ts:1241


BET

BET: string

HEBREW LETTER BET (U+05D1) ב

Example

const schema = new Schema({
// truncated for brevity
BET: "b",
});
transliterate("בְּבֵית", schema);
// bǝbêt

Defined in

src/schema.ts:833


BET_DAGESH?

optional BET_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êt

With BET and BET_DAGESH set

const schema = new Schema({
// truncated for brevity
BET: "v",
BET_DAGESH: "b",
});
transliterate("בְּבֵית", schema);
// bǝvêt

Remarks

The letter bet with a dagesh kal. Use when need to distinguish between spirantized forms

Defined in

src/schema.ts:867


DALET

DALET: string

HEBREW LETTER DALET (U+05D3) ד

Example

const schema = new Schema({
// truncated for brevity
DALET: "d",
});
transliterate("דֹּ֣ד", schema);
// dōd

Defined in

src/schema.ts:933


DALET_DAGESH?

optional DALET_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ōd

With DALET and DALET_DAGESH set

const schema = new Schema({
// truncated for brevity
DALET: "dh",
DALET_DAGESH: "d",
});
transliterate("דֹּ֣ד", schema);
// dōdh

Remarks

The letter dalet with a dagesh kal. Ue when need to distinguish between spirantized forms

Defined in

src/schema.ts:967


FINAL_KAF

FINAL_KAF: string

HEBREW LETTER FINAL KAF (U+05DA) ך

Example

const schema = new Schema({
// truncated for brevity
FINAL KAF: "k",
});
transliterate("לֶךְ", schema);
// lek

Defined in

src/schema.ts:1079


FINAL_MEM

FINAL_MEM: string

HEBREW LETTER FINAL MEM (U+05DD) ם

Example

const schema = new Schema({
// truncated for brevity
FINAL MEM: "m",
});
transliterate("מַ֖יִם", schema);
// mayim

Defined in

src/schema.ts:1161


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ûn

Defined in

src/schema.ts:1193


FINAL_PE

FINAL_PE: string

HEBREW LETTER FINAL PE (U+05E3) ף

Example

const schema = new Schema({
// truncated for brevity
FINAL PE: "p",
});
transliterate("כַּ֣ף", schema);
// kap

Defined in

src/schema.ts:1257


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

src/schema.ts:1323


GIMEL

GIMEL: string

HEBREW LETTER GIMEL (U+05D2) ג

Example

const schema = new Schema({
// truncated for brevity
GIMEL: "g",
});
transliterate("גַּ֣גּ", schema);
// gag

Defined in

src/schema.ts:883


GIMEL_DAGESH?

optional GIMEL_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);
// gag

With GIMEL and GIMEL_DAGESH set

const schema = new Schema({
// truncated for brevity
GIMEL: "gh",
GIMEL_DAGESH: "g",
});
transliterate("גַּ֣ג", schema);
// gagh

Remarks

The letter gimel with a dagesh kal. Use when need to distinguish between spirantized forms

Defined in

src/schema.ts:917


HE

HE: string

HEBREW LETTER HE (U+05D4) ה

Example

const schema = new Schema({
// truncated for brevity
HE: "h",
});
transliterate("הֵ֗ם", schema);
// hēm

Defined in

src/schema.ts:983


HET

HET: string

HEBREW LETTER HET (U+05D7) ח

Example

const schema = new Schema({
// truncated for brevity
HET: ""
});
transliterate("חַ֣ג", schema);
// ḥag

Defined in

src/schema.ts:1031


KAF

KAF: string

HEBREW LETTER KAF (U+05DB) כ

Example

const schema = new Schema({
// truncated for brevity
KAF: "k",
});
transliterate("כָּ֚כָה", schema);
// kākâ

Defined in

src/schema.ts:1095


KAF_DAGESH?

optional KAF_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

src/schema.ts:1129


LAMED

LAMED: string

HEBREW LETTER LAMED (U+05DC) ל

Example

const schema = new Schema({
// truncated for brevity
LAMED: "l",
});
transliterate("עַל", schema);
// ʿal

Defined in

src/schema.ts:1145


MEM

MEM: string

HEBREW LETTER MEM (U+05DE) מ

Example

const schema = new Schema({
// truncated for brevity
MEM: "m",
});
transliterate("מַ֖יִם", schema);
// mayim

Defined in

src/schema.ts:1177


NUN

NUN: string

HEBREW LETTER NUN (U+05E0) נ

Example

const schema = new Schema({
// truncated for brevity
NUN: "n",
});
transliterate("נ֔וּן", schema);
// nûn

Defined in

src/schema.ts:1209


PE

PE: string

HEBREW LETTER PE (U+05E4) פ

Example

const schema = new Schema({
// truncated for brevity
PE: "p",
});
transliterate("פֶּ֣רֶא חָפְשִׁ֑י", schema);
// pereʾ ḥopšî

Defined in

src/schema.ts:1273


PE_DAGESH?

optional PE_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

src/schema.ts:1307


QOF

QOF: string

HEBREW LETTER QOF (U+05E7) ק

Example

const schema = new Schema({
// truncated for brevity
QOF: "q",
});
transliterate("רַ֥ק", schema);
// raq

Defined in

src/schema.ts:1355


RESH

RESH: string

HEBREW LETTER RESH (U+05E8) ר

Example

const schema = new Schema({
// truncated for brevity
RESH: "r",
});
transliterate("רַ֥ק", schema);
// raq

Defined in

src/schema.ts:1371


SAMEKH

SAMEKH: string

HEBREW LETTER SAMEKH (U+05E1) ס

Example

const schema = new Schema({
// truncated for brevity
SAMEKH: "s",
});
transliterate("ס֥וּס", schema);
// sûs

Defined in

src/schema.ts:1225


SHIN

SHIN: string

HEBREW LETTER SHIN (U+05E9) and SHIN DOT (U+05C1) שׁ

Example

const schema = new Schema({
// truncated for brevity
SHIN: "š",
});
transliterate("שֵׁ֖ן", schema);
// šēn

Defined in

src/schema.ts:1388


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îm

Defined in

src/schema.ts:1405


TAV

TAV: string

HEBREW LETTER TAV (U+05EA) ת

Example

const schema = new Schema({
// truncated for brevity
TAV: "t",
});
transliterate("תֵּ֛ת", schema);
// tēt

Defined in

src/schema.ts:1421


TAV_DAGESH?

optional TAV_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ēt

With TAV and TAV_DAGESH set

const schema = new Schema({
// truncated for brevity
TAV: "th",
TAV_DAGESH: "t",
});
transliterate("תֵּ֛ת", schema);
// tēth

Remarks

The letter tav with a dagesh kal. Use when need to distinguish between spirantized forms

Defined in

src/schema.ts:1455


TET

TET: string

HEBREW LETTER TET (U+05D8) ט

Example

const schema = new Schema({
// truncated for brevity
TET: "",
});
transliterate("טִֽיט", schema);
// ṭîṭ

Defined in

src/schema.ts:1047


TSADI

TSADI: string

HEBREW LETTER TSADI (U+05E6) צ

Example

const schema = new Schema({
// truncated for brevity
TSADI: "",
});
transliterate("צָ֚ץ", schema);
// ṣāṣ

Defined in

src/schema.ts:1339


VAV

VAV: string

HEBREW LETTER VAV (U+05D5) ו

Example

const schema = new Schema({
// truncated for brevity
VAV: "w",
});
transliterate("וָוִ֖ים", schema);
// wāwîm

Defined in

src/schema.ts:999


YOD

YOD: string

HEBREW LETTER YOD (U+05D9) י

Example

const schema = new Schema({
// truncated for brevity
YOD: "y",
});
transliterate("יָ֗ד", schema);
// yād

Defined in

src/schema.ts:1063


ZAYIN

ZAYIN: string

HEBREW LETTER ZAYIN (U+05D6) ז

Example

const schema = new Schema({
// truncated for brevity
ZAYIN: "z",
});
transliterate("זֵ֣ד", schema);
// zēd

Defined in

src/schema.ts:1015

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ēn

A character

const schema = new Schema({
// truncated for brevity
DAGESH: ".",
});
transliterate("כֵּ֑ן", schema);
// k.ēn

Remarks

Typically, this should be a blank string.

Defined in

src/schema.ts:528


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́āt

As a boolean

const schema = new Schema({
// truncated for brevity
DAGESH_CHAZAQ: true,
});
transliterate("שַׁבָּת", schema);
// šabbāt

Defined in

src/schema.ts:559


MAQAF

MAQAF: string

HEBREW PUNCTUATION MAQAF (U+05BE) ־◌

Example

const schema = new Schema({
// truncated for brevity
{ MAQAF: "-" }
});
transliterate("אַל־", schema);
// ʾal-

Defined in

src/schema.ts:576


PASEQ

PASEQ: string

HEBREW PUNCTUATION PASEQ (U+05C0) ׀ ◌

Example

const schema = new Schema({
// truncated for brevity
PASEQ: "",
})
transliterate("כְּשֶׁ֣בֶת ׀ הַמֶּ֣לֶךְ", schema);
// kǝšebet hammelek

Remarks

If a blank string, two spaces will occur between words; see example.

Defined in

src/schema.ts:595


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

src/schema.ts:612

Orthographic Features

ADDITIONAL_FEATURES?

optional ADDITIONAL_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 Regex
  • PASS_THROUGH?: An optional property; true if the rule should pass the characters of the result of the TRANSLITERATION callback to the be mapped to the schema
  • TRANSLITERATION: the output of the rule, either a string or a callback whose properties differ based on the FEATURE

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 Earth

FEATURE 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);
// štayim

FEATURE 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āʾēl

FEATURE 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ōʾt

FEATURE is “cluster” and TRANSLITERATION is a callback

const schema = new Schema({
// truncated for brevity
TAV_DAGESH: "",,
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ʰēšeb

Defined in

src/schema.ts:1600


BET_DAGESH?

optional BET_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êt

With BET and BET_DAGESH set

const schema = new Schema({
// truncated for brevity
BET: "v",
BET_DAGESH: "b",
});
transliterate("בְּבֵית", schema);
// bǝvêt

Remarks

The letter bet with a dagesh kal. Use when need to distinguish between spirantized forms

Defined in

src/schema.ts:867


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́āt

As a boolean

const schema = new Schema({
// truncated for brevity
DAGESH_CHAZAQ: true,
});
transliterate("שַׁבָּת", schema);
// šabbāt

Defined in

src/schema.ts:559


DALET_DAGESH?

optional DALET_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ōd

With DALET and DALET_DAGESH set

const schema = new Schema({
// truncated for brevity
DALET: "dh",
DALET_DAGESH: "d",
});
transliterate("דֹּ֣ד", schema);
// dōdh

Remarks

The letter dalet with a dagesh kal. Ue when need to distinguish between spirantized forms

Defined in

src/schema.ts:967


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);
// yhwh

Defined in

src/schema.ts:1616


DIVINE_NAME_ELOHIM?

optional DIVINE_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îm

Remarks

Matches on the forms:

  • יֱהֹוִה
  • יֱהוִה
  • יְהֹוִה
  • יְהוִה If undefined, defaults to value of DIVINE_NAME

Defined in

src/schema.ts:1640


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

src/schema.ts:648


GIMEL_DAGESH?

optional GIMEL_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);
// gag

With GIMEL and GIMEL_DAGESH set

const schema = new Schema({
// truncated for brevity
GIMEL: "gh",
GIMEL_DAGESH: "g",
});
transliterate("גַּ֣ג", schema);
// gagh

Remarks

The letter gimel with a dagesh kal. Use when need to distinguish between spirantized forms

Defined in

src/schema.ts:917


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);
// ʿîr

Defined in

src/schema.ts:665


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

src/schema.ts:733


KAF_DAGESH?

optional KAF_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

src/schema.ts:1129


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āyw

Defined in

src/schema.ts:801


PE_DAGESH?

optional PE_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

src/schema.ts:1307


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

src/schema.ts:750


SEGOL_HE

SEGOL_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

src/schema.ts:767


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

src/schema.ts:699


SHIN

SHIN: string

HEBREW LETTER SHIN (U+05E9) and SHIN DOT (U+05C1) שׁ

Example

const schema = new Schema({
// truncated for brevity
SHIN: "š",
});
transliterate("שֵׁ֖ן", schema);
// šēn

Defined in

src/schema.ts:1388


SHUREQ

SHUREQ: string

HEBREW LETTER VAV (U+05D5) and DAGESH (U+05BC) וּ

Example

const schema = new Schema({
// truncated for brevity
SHUREQ: "û",
});
transliterate("קוּם", schema);
// qûm

Defined in

src/schema.ts:716


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îm

Defined in

src/schema.ts:1405


STRESS_MARKER?

optional STRESS_MARKER: {exclude: "never" | "final" | "single";location: "before-syllable" | "after-syllable" | "before-vowel" | "after-vowel";mark: string; }

A mark for indentifying the stressed syllable

exclude?

optional exclude: "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ḥā́d

Exclude 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ḥā́d

Exclude 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ḥād

location

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élek

Remarks

Taamim are needed in the Hebrew text to correctly identify stress.

Defined in

src/schema.ts:1678


SYLLABLE_SEPARATOR?

optional SYLLABLE_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

src/schema.ts:1656


TAV_DAGESH?

optional TAV_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ēt

With TAV and TAV_DAGESH set

const schema = new Schema({
// truncated for brevity
TAV: "th",
TAV_DAGESH: "t",
});
transliterate("תֵּ֛ת", schema);
// tēth

Remarks

The letter tav with a dagesh kal. Use when need to distinguish between spirantized forms

Defined in

src/schema.ts:1455


TSERE_HE

TSERE_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

src/schema.ts:784


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);
// ʾên

Defined in

src/schema.ts:682

Syllabification

allowNoNiqqud

allowNoNiqqud: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.allowNoNiqqud

Defined in

src/schema.ts:1742


article

article: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.article

Defined in

src/schema.ts:1749


holemHaser

holemHaser: undefined | "update" | "preserve" | "remove"

Remarks

See implementation for more details

Implementation of

SylOpts.holemHaser

Defined in

src/schema.ts:1756


ketivQeres?

optional ketivQeres: KetivQere[]

Remarks

See implementation for more details

Implementation of

SylOpts.ketivQeres

Defined in

src/schema.ts:1764


longVowels

longVowels: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.longVowels

Defined in

src/schema.ts:1771


qametsQatan

qametsQatan: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.qametsQatan

Defined in

src/schema.ts:1778


shevaAfterMeteg

shevaAfterMeteg: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.shevaAfterMeteg

Defined in

src/schema.ts:1785


shevaWithMeteg?

optional shevaWithMeteg: boolean

Remarks

See implementation for more details

Implementation of

SylOpts.shevaWithMeteg

Defined in

src/schema.ts:1792


sqnmlvy

sqnmlvy: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.sqnmlvy

Defined in

src/schema.ts:1799


strict

strict: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.strict

Defined in

src/schema.ts:1806


wawShureq

wawShureq: undefined | boolean

Remarks

See implementation for more details

Implementation of

SylOpts.wawShureq

Defined in

src/schema.ts:1813

Taamim

MAQAF

MAQAF: string

HEBREW PUNCTUATION MAQAF (U+05BE) ־◌

Example

const schema = new Schema({
// truncated for brevity
{ MAQAF: "-" }
});
transliterate("אַל־", schema);
// ʾal-

Defined in

src/schema.ts:576


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

src/schema.ts:612

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

src/schema.ts:648


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

src/schema.ts:350


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îm

Implementation of

SchemaVowels.HATAF_QAMATS

Defined in

src/schema.ts:366


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îm

Implementation of

SchemaVowels.HATAF_SEGOL

Defined in

src/schema.ts:334


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

src/schema.ts:382


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);
// ʿîr

Defined in

src/schema.ts:665


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

src/schema.ts:462


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ōn

Remarks

See holemHaser for more about this character

Implementation of

SchemaVowels.HOLAM_HASER

Defined in

src/schema.ts:481


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

src/schema.ts:733


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āyw

Defined in

src/schema.ts:801


PATAH

PATAH: string

HEBREW POINT PATAH (U+05B7) ַ◌

Example

const schema = new Schema({
// truncated for brevity
PATAH: "a",
});
transliterate("נַ֗עַר", schema);
// naʿar

Implementation of

SchemaVowels.PATAH

Defined in

src/schema.ts:430


QAMATS

QAMATS: string

HEBREW POINT QAMATS (U+05B8) ָ◌

Example

const schema = new Schema({
// truncated for brevity
QAMATS: "ā",
});
transliterate("דָבָר֙", schema);
// dābār

Implementation of

SchemaVowels.QAMATS

Defined in

src/schema.ts:446


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

src/schema.ts:750


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āʿām

Remarks

See qametsQatan for details about this character.

Implementation of

SchemaVowels.QAMATS_QATAN

Defined in

src/schema.ts:631


QUBUTS

QUBUTS: string

HEBREW POINT QUBUTS (U+05BB) ֻ◌

Example

const schema = new Schema({
// truncated for brevity
QUBUTS: "u",
});
transliterate("קֻ֣ם", schema);
// qūm

Implementation of

SchemaVowels.QUBUTS

Defined in

src/schema.ts:497


SEGOL

SEGOL: string

HEBREW POINT SEGOL (U+05B6) ֶ◌

Example

const schema = new Schema({
// truncated for brevity
SEGOL: "e",
});
transliterate("אֶל", schema);
// ʾel

Implementation of

SchemaVowels.SEGOL

Defined in

src/schema.ts:414


SEGOL_HE

SEGOL_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

src/schema.ts:767


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

src/schema.ts:699


SHUREQ

SHUREQ: string

HEBREW LETTER VAV (U+05D5) and DAGESH (U+05BC) וּ

Example

const schema = new Schema({
// truncated for brevity
SHUREQ: "û",
});
transliterate("קוּם", schema);
// qûm

Defined in

src/schema.ts:716


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

src/schema.ts:398


TSERE_HE

TSERE_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

src/schema.ts:784


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);
// ʾên

Defined in

src/schema.ts:682


VOCAL_SHEVA

VOCAL_SHEVA: string

HEBREW POINT SHEVA (U+05B0) ְ◌

Example

const schema = new Schema({
// truncated for brevity
VOCAL_SHEVA: "ǝ",
});
transliterate("סְלִ֣ק", schema);
// sǝliq

Defined in

src/schema.ts:318