Skip to content

Schema

Defined in: src/schema.ts:302

Class for defining a schema for transliteration.

Examples are truncated for brevity.

new Schema(schema): Schema

Defined in: src/schema.ts:1875

ParameterType
schemaSchema

Schema

ALEF: string

Defined in: src/schema.ts:834

HEBREW LETTER ALEF (U+05D0) א

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

AYIN: string

Defined in: src/schema.ts:1258

HEBREW LETTER AYIN (U+05E2) ע

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

BET: string

Defined in: src/schema.ts:850

HEBREW LETTER BET (U+05D1) ב

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

optional BET_DAGESH?: string

Defined in: src/schema.ts:884

HEBREW LETTER BET (U+05D1) and DAGESH (U+05BC) ּב

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

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


DALET: string

Defined in: src/schema.ts:950

HEBREW LETTER DALET (U+05D3) ד

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

optional DALET_DAGESH?: string

Defined in: src/schema.ts:984

HEBREW LETTER DALET (U+05D3) and DAGESH (U+05BC) דּ

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

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


FINAL_KAF: string

Defined in: src/schema.ts:1096

HEBREW LETTER FINAL KAF (U+05DA) ך

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

FINAL_MEM: string

Defined in: src/schema.ts:1178

HEBREW LETTER FINAL MEM (U+05DD) ם

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

FINAL_NUN: string

Defined in: src/schema.ts:1210

HEBREW LETTER FINAL NUN (U+05DF) ן

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

FINAL_PE: string

Defined in: src/schema.ts:1274

HEBREW LETTER FINAL PE (U+05E3) ף

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

FINAL_TSADI: string

Defined in: src/schema.ts:1340

HEBREW LETTER FINAL TSADI (U+05E5) ץ

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

GIMEL: string

Defined in: src/schema.ts:900

HEBREW LETTER GIMEL (U+05D2) ג

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

optional GIMEL_DAGESH?: string

Defined in: src/schema.ts:934

HEBREW LETTER GIMEL (U+05D2) and DAGESH (U+05BC) גּ

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

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


HE: string

Defined in: src/schema.ts:1000

HEBREW LETTER HE (U+05D4) ה

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

HET: string

Defined in: src/schema.ts:1048

HEBREW LETTER HET (U+05D7) ח

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

KAF: string

Defined in: src/schema.ts:1112

HEBREW LETTER KAF (U+05DB) כ

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

optional KAF_DAGESH?: string

Defined in: src/schema.ts:1146

HEBREW LETTER KAF (U+05DB) and DAGESH (U+05BC) כּ

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â

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


LAMED: string

Defined in: src/schema.ts:1162

HEBREW LETTER LAMED (U+05DC) ל

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

MEM: string

Defined in: src/schema.ts:1194

HEBREW LETTER MEM (U+05DE) מ

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

NUN: string

Defined in: src/schema.ts:1226

HEBREW LETTER NUN (U+05E0) נ

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

PE: string

Defined in: src/schema.ts:1290

HEBREW LETTER PE (U+05E4) פ

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

optional PE_DAGESH?: string

Defined in: src/schema.ts:1324

HEBREW LETTER PE (U+05E4) and DAGESH (U+05BC) פּ

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

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


QOF: string

Defined in: src/schema.ts:1372

HEBREW LETTER QOF (U+05E7) ק

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

RESH: string

Defined in: src/schema.ts:1388

HEBREW LETTER RESH (U+05E8) ר

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

SAMEKH: string

Defined in: src/schema.ts:1242

HEBREW LETTER SAMEKH (U+05E1) ס

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

SHIN: string

Defined in: src/schema.ts:1405

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

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

SIN: string

Defined in: src/schema.ts:1422

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

const schema = new Schema({
// truncated for brevity
SIN: "ś",
});
transliterate("כַּשְׂדִּ֔ים", schema);
// kaśdîm

TAV: string

Defined in: src/schema.ts:1438

HEBREW LETTER TAV (U+05EA) ת

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

optional TAV_DAGESH?: string

Defined in: src/schema.ts:1472

HEBREW LETTER TAV (U+05EA) and DAGESH (U+05BC) תּ

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

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


TET: string

Defined in: src/schema.ts:1064

HEBREW LETTER TET (U+05D8) ט

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

TSADI: string

Defined in: src/schema.ts:1356

HEBREW LETTER TSADI (U+05E6) צ

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

VAV: string

Defined in: src/schema.ts:1016

HEBREW LETTER VAV (U+05D5) ו

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

YOD: string

Defined in: src/schema.ts:1080

HEBREW LETTER YOD (U+05D9) י

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

ZAYIN: string

Defined in: src/schema.ts:1032

HEBREW LETTER ZAYIN (U+05D6) ז

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

DAGESH: string

Defined in: src/schema.ts:528

HEBREW POINT DAGESH OR MAPIQ (U+05BC) ּ◌

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

Typically, this should be a blank string.


DAGESH_CHAZAQ: string | boolean

Defined in: src/schema.ts:559

HEBREW POINT DAGESH OR MAPIQ (U+05BC) ּ◌

A string or boolean, and if set to true, the consonant with the dagesh is repeated.

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

MAQAF: string

Defined in: src/schema.ts:576

HEBREW PUNCTUATION MAQAF (U+05BE) ־◌

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

PASEQ: string

Defined in: src/schema.ts:595

HEBREW PUNCTUATION PASEQ (U+05C0) ׀ ◌

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

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


SOF_PASUQ: string

Defined in: src/schema.ts:612

HEBREW PUNCTUATION SOF PASUQ (U+05C3) ׃◌

const schema = new Schema({
// truncated for brevity
SOF_PASUQ: ".",
});
transliterate("הָאָֽרֶץ׃", schema);
// hāʾāreṣ.

optional ADDITIONAL_FEATURES?: (WordFeature | SyllableFeature | ClusterFeature)[]

Defined in: src/schema.ts:1617

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

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

optional BET_DAGESH?: string

Defined in: src/schema.ts:884

HEBREW LETTER BET (U+05D1) and DAGESH (U+05BC) ּב

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

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


DAGESH_CHAZAQ: string | boolean

Defined in: src/schema.ts:559

HEBREW POINT DAGESH OR MAPIQ (U+05BC) ּ◌

A string or boolean, and if set to true, the consonant with the dagesh is repeated.

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

optional DALET_DAGESH?: string

Defined in: src/schema.ts:984

HEBREW LETTER DALET (U+05D3) and DAGESH (U+05BC) דּ

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

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


DIVINE_NAME: string

Defined in: src/schema.ts:1633

The full form of the divine name - יהוה

const schema = new Schema({
// truncated for brevity
DIVINE_NAME: "yhwh",
});
transliterate("יְהֹוָ֗ה", schema);
// yhwh

optional DIVINE_NAME_ELOHIM?: string

Defined in: src/schema.ts:1657

The full form of the divine name pointed as ‘elohim

const schema = new Schema({
// truncated for brevity
DIVINE_NAME_ELOHIM: "ʾĕlōhîm",
});
transliterate("יֱהֹוִה", schema);
// ʾĕlōhîm

Matches on the forms:

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

FURTIVE_PATAH: string

Defined in: src/schema.ts:648

HEBREW POINT PATAH (U+05B7) ◌ַ as a furtive patah

const schema = new Schema({
// truncated for brevity
FURTIVE_PATAH: "a",
});
transliterate("נֹ֖חַ", schema);
// nōaḥ

optional GIMEL_DAGESH?: string

Defined in: src/schema.ts:934

HEBREW LETTER GIMEL (U+05D2) and DAGESH (U+05BC) גּ

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

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


HIRIQ_YOD: string

Defined in: src/schema.ts:665

HEBREW POINT HIRIQ (U+05B4) and YOD (U+05D9) י◌ִ

const schema = new Schema({
// truncated for brevity
HIRIQ_YOD: "î",
});
transliterate("עִ֔יר", schema);
// ʿîr

HOLAM_VAV: string

Defined in: src/schema.ts:733

HEBREW LETTER HOLAM (U+05B9) and VAV (U+05D5) ֹו◌

const schema = new Schema({
// truncated for brevity
HOLAM_VAV: "ô",
});
transliterate("ס֣וֹא", schema);
// sôʾ

optional KAF_DAGESH?: string

Defined in: src/schema.ts:1146

HEBREW LETTER KAF (U+05DB) and DAGESH (U+05BC) כּ

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â

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


MS_SUFX: string

Defined in: src/schema.ts:818

HEBREW LETTER QAMATS (U+05B8) and YOD (U+05D9) and VAV (U+05D5) יו◌ָ

const schema = new Schema({
// truncated for brevity
MS_SUFX: ”āyw”,
});
transliterate("יָדָ֛יו", schema);
// yādāyw

optional ON_COMPLETE?: (result, context) => string

Defined in: src/schema.ts:1788

A callback that is invoked when transliteration is complete

ParameterType
resultstring
context{ original: string; schema: Omit<Schema, "ON_COMPLETE">; text: Text; }
context.originalstring
context.schemaOmit<Schema, "ON_COMPLETE">
context.textText

string

Modifying the result

const schema = new Schema({
// truncated for brevity
ON_COMPLETE: (result) => result.replace("th", "t'h"),
});
transliterate("תִתְהַלָּֽל", schema);
// tit'hallāl

Accessing callback arguments

const schema = new Schema({
// truncated for brevity
ON_COMPLETE: (result, { original, schema, text }) => {
console.log("Original Hebrew:", original);
console.log("Schema value:", schema.PATAH);
console.log("Word count:", text.words.length);
return result;
},
});
transliterate("שָּׁלוֹם", schema);
// "šālôm"
// Original Hebrew: שָּׁלוֹם
// Schema value: a
// Word count: 1

optional PATAH_HE?: string

Defined in: src/schema.ts:767

HEBREW POINT PATAH (U+05B7) and HE (U+05D4) ה◌ַ

const schema = new Schema({
// truncated for brevity
PATAH_HE: "â",
});
transliterate("מַה־", schema);
// mâ-

optional PE_DAGESH?: string

Defined in: src/schema.ts:1324

HEBREW LETTER PE (U+05E4) and DAGESH (U+05BC) פּ

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

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


QAMATS_HE: string

Defined in: src/schema.ts:750

HEBREW POINT QAMATS (U+05B8) and HE (U+05D4) ה◌ָ

const schema = new Schema({
// truncated for brevity
QAMATS_HE: "â",
});
transliterate("עֵצָ֖ה", schema);
// ʿēṣâ

optional SEGOL_HE?: string

Defined in: src/schema.ts:784

HEBREW POINT SEGOL (U+05B6) and HE (U+05D4) ה◌ֶ

const schema = new Schema({
// truncated for brevity
SEGOL_HE: "ê",
});
transliterate("יִקְרֶ֥ה", schema);
// yiqrê

SEGOL_YOD: string

Defined in: src/schema.ts:699

HEBREW POINT SEGOL (U+05B6) and YOD (U+05D9) י◌ֶ

const schema = new Schema({
// truncated for brevity
SEGOL_YOD: "ê",
});
transliterate("אֱלֹהֶ֑יךָ", schema);
// ʾĕlōhêkā

SHIN: string

Defined in: src/schema.ts:1405

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

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

SHUREQ: string

Defined in: src/schema.ts:716

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

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

SIN: string

Defined in: src/schema.ts:1422

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

const schema = new Schema({
// truncated for brevity
SIN: "ś",
});
transliterate("כַּשְׂדִּ֔ים", schema);
// kaśdîm

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

Defined in: src/schema.ts:1695

A mark for indentifying the stressed syllable

optional exclude?: "never" | "final" | "single"

Whether to exclude the mark on certain syllables

"never"

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: "before-syllable" | "after-syllable" | "before-vowel" | "after-vowel"

The location of the mark

mark: string

A string to use as the marker

const schema = new Schema({
// truncated for brevity
STRESS_MARKER: {
location: "after-vowel",
mark: "\u0301",
},
});
transliterate("מֶ֣לֶךְ", schema);
// mélek

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


optional SYLLABLE_SEPARATOR?: string

Defined in: src/schema.ts:1673

A syllable separator, usually an empty string

const schema = new Schema({
// truncated for brevity
SYLLABLE_SEPARATOR: "-",
});
transliterate('הָאָֽרֶץ', schema);
// hā-ʾā-reṣ

optional TAV_DAGESH?: string

Defined in: src/schema.ts:1472

HEBREW LETTER TAV (U+05EA) and DAGESH (U+05BC) תּ

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

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


optional TSERE_HE?: string

Defined in: src/schema.ts:801

HEBREW POINT TSERE (U+05B5) and HE (U+05D4) ה◌ֵ

const schema = new Schema({
// truncated for brevity
TSERE_HE: "ê",
});
transliterate("הָאַרְיֵ֔ה", schema);
// hāʾaryê

TSERE_YOD: string

Defined in: src/schema.ts:682

HEBREW POINT TSERE (U+05B5) and YOD (U+05D9) י◌ֵ

const schema = new Schema({
// truncated for brevity
TSERE_YOD: "ê",
});
transliterate("אֵ֤ין", schema);
// ʾên

allowNoNiqqud: boolean | undefined

Defined in: src/schema.ts:1802

See implementation for more details

SylOpts.allowNoNiqqud


article: boolean | undefined

Defined in: src/schema.ts:1809

See implementation for more details

SylOpts.article


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

Defined in: src/schema.ts:1816

See implementation for more details

SylOpts.holemHaser


optional ketivQeres?: KetivQere[]

Defined in: src/schema.ts:1824

See implementation for more details

SylOpts.ketivQeres


longVowels: boolean | undefined

Defined in: src/schema.ts:1831

See implementation for more details

SylOpts.longVowels


qametsQatan: boolean | undefined

Defined in: src/schema.ts:1838

See implementation for more details

SylOpts.qametsQatan


shevaAfterMeteg: boolean | undefined

Defined in: src/schema.ts:1845

See implementation for more details

SylOpts.shevaAfterMeteg


optional shevaWithMeteg?: boolean

Defined in: src/schema.ts:1852

See implementation for more details

SylOpts.shevaWithMeteg


sqnmlvy: boolean | undefined

Defined in: src/schema.ts:1859

See implementation for more details

SylOpts.sqnmlvy


strict: boolean | undefined

Defined in: src/schema.ts:1866

See implementation for more details

SylOpts.strict


wawShureq: boolean | undefined

Defined in: src/schema.ts:1873

See implementation for more details

SylOpts.wawShureq

MAQAF: string

Defined in: src/schema.ts:576

HEBREW PUNCTUATION MAQAF (U+05BE) ־◌

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

SOF_PASUQ: string

Defined in: src/schema.ts:612

HEBREW PUNCTUATION SOF PASUQ (U+05C3) ׃◌

const schema = new Schema({
// truncated for brevity
SOF_PASUQ: ".",
});
transliterate("הָאָֽרֶץ׃", schema);
// hāʾāreṣ.

FURTIVE_PATAH: string

Defined in: src/schema.ts:648

HEBREW POINT PATAH (U+05B7) ◌ַ as a furtive patah

const schema = new Schema({
// truncated for brevity
FURTIVE_PATAH: "a",
});
transliterate("נֹ֖חַ", schema);
// nōaḥ

HATAF_PATAH: string

Defined in: src/schema.ts:350

HEBREW POINT HATAF PATAH (U+05B2) ֲ◌

const schema = new Schema({
// truncated for brevity
HATAF_PATAH: "ă",
});
transliterate("נַֽעֲשֶׂ֥ה", schema);
// naʿăśê

SchemaVowels.HATAF_PATAH


HATAF_QAMATS: string

Defined in: src/schema.ts:366

HEBREW POINT HATAF QAMATS (U+05B3) ֳ◌

const schema = new Schema({
// truncated for brevity
HATAF_QAMATS: "ŏ",
});
transliterate("אֳרָנִים", schema);
// ʾŏrānîm

SchemaVowels.HATAF_QAMATS


HATAF_SEGOL: string

Defined in: src/schema.ts:334

HEBREW POINT HATAF SEGOL (U+05B1) ֱ◌

const schema = new Schema({
// truncated for brevity
HATAF_SEGOL: "ĕ",
});
transliterate("אֱלֹהִ֑ים", schema);
// ʾĕlōhîm

SchemaVowels.HATAF_SEGOL


HIRIQ: string

Defined in: src/schema.ts:382

HEBREW POINT HIRIQ (U+05B4) ִ◌

const schema = new Schema({
// truncated for brevity
HIRIQ: "i",
});
transliterate("הִנֵּה֩", schema);
// hinnê

SchemaVowels.HIRIQ


HIRIQ_YOD: string

Defined in: src/schema.ts:665

HEBREW POINT HIRIQ (U+05B4) and YOD (U+05D9) י◌ִ

const schema = new Schema({
// truncated for brevity
HIRIQ_YOD: "î",
});
transliterate("עִ֔יר", schema);
// ʿîr

HOLAM: string

Defined in: src/schema.ts:462

HEBREW POINT HOLAM (U+05B9) ֹ◌

const schema = new Schema({
// truncated for brevity
HOLAM: "ō",
});
transliterate("לֹא", schema);
// lōʾ

SchemaVowels.HOLAM


HOLAM_HASER: string

Defined in: src/schema.ts:481

HEBREW POINT HOLAM HASER FOR VAV (U+05BA) ֹ◌

const schema = new Schema({
// truncated for brevity
HOLAM_HASER: "ō",
});
transliterate("עָוֺן֙", schema);
// ʿāwōn

See holemHaser for more about this character

SchemaVowels.HOLAM_HASER


HOLAM_VAV: string

Defined in: src/schema.ts:733

HEBREW LETTER HOLAM (U+05B9) and VAV (U+05D5) ֹו◌

const schema = new Schema({
// truncated for brevity
HOLAM_VAV: "ô",
});
transliterate("ס֣וֹא", schema);
// sôʾ

MS_SUFX: string

Defined in: src/schema.ts:818

HEBREW LETTER QAMATS (U+05B8) and YOD (U+05D9) and VAV (U+05D5) יו◌ָ

const schema = new Schema({
// truncated for brevity
MS_SUFX: ”āyw”,
});
transliterate("יָדָ֛יו", schema);
// yādāyw

PATAH: string

Defined in: src/schema.ts:430

HEBREW POINT PATAH (U+05B7) ַ◌

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

SchemaVowels.PATAH


optional PATAH_HE?: string

Defined in: src/schema.ts:767

HEBREW POINT PATAH (U+05B7) and HE (U+05D4) ה◌ַ

const schema = new Schema({
// truncated for brevity
PATAH_HE: "â",
});
transliterate("מַה־", schema);
// mâ-

QAMATS: string

Defined in: src/schema.ts:446

HEBREW POINT QAMATS (U+05B8) ָ◌

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

SchemaVowels.QAMATS


QAMATS_HE: string

Defined in: src/schema.ts:750

HEBREW POINT QAMATS (U+05B8) and HE (U+05D4) ה◌ָ

const schema = new Schema({
// truncated for brevity
QAMATS_HE: "â",
});
transliterate("עֵצָ֖ה", schema);
// ʿēṣâ

QAMATS_QATAN: string

Defined in: src/schema.ts:631

HEBREW POINT QAMATS QATAN (U+05C7) ׇ◌

const schema = new Schema({
// truncated for brevity
QAMATS QATAN: "o",
});
transliterate("כָּל־הָעָ֖ם", schema);
// kol-hāʿām

See qametsQatan for details about this character.

SchemaVowels.QAMATS_QATAN


QUBUTS: string

Defined in: src/schema.ts:497

HEBREW POINT QUBUTS (U+05BB) ֻ◌

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

SchemaVowels.QUBUTS


SEGOL: string

Defined in: src/schema.ts:414

HEBREW POINT SEGOL (U+05B6) ֶ◌

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

SchemaVowels.SEGOL


optional SEGOL_HE?: string

Defined in: src/schema.ts:784

HEBREW POINT SEGOL (U+05B6) and HE (U+05D4) ה◌ֶ

const schema = new Schema({
// truncated for brevity
SEGOL_HE: "ê",
});
transliterate("יִקְרֶ֥ה", schema);
// yiqrê

SEGOL_YOD: string

Defined in: src/schema.ts:699

HEBREW POINT SEGOL (U+05B6) and YOD (U+05D9) י◌ֶ

const schema = new Schema({
// truncated for brevity
SEGOL_YOD: "ê",
});
transliterate("אֱלֹהֶ֑יךָ", schema);
// ʾĕlōhêkā

SHUREQ: string

Defined in: src/schema.ts:716

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

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

TSERE: string

Defined in: src/schema.ts:398

HEBREW POINT TSERE (U+05B5) ֵ◌

const schema = new Schema({
// truncated for brevity
TSERE: "ē",
});
transliterate("אֵשׁ", schema);
// ʾēš

SchemaVowels.TSERE


optional TSERE_HE?: string

Defined in: src/schema.ts:801

HEBREW POINT TSERE (U+05B5) and HE (U+05D4) ה◌ֵ

const schema = new Schema({
// truncated for brevity
TSERE_HE: "ê",
});
transliterate("הָאַרְיֵ֔ה", schema);
// hāʾaryê

TSERE_YOD: string

Defined in: src/schema.ts:682

HEBREW POINT TSERE (U+05B5) and YOD (U+05D9) י◌ֵ

const schema = new Schema({
// truncated for brevity
TSERE_YOD: "ê",
});
transliterate("אֵ֤ין", schema);
// ʾên

VOCAL_SHEVA: string

Defined in: src/schema.ts:318

HEBREW POINT SHEVA (U+05B0) ְ◌

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