SylOpts
Options for determining syllabification that may differ according to reading traditions
Properties
allowNoNiqqud?
optional
allowNoNiqqud:boolean
Allows text with no niqqud to be passed; words with no niqqud or incomplete pointing will not be syllabified
Default Value
false
Example
Remarks
Results in example displayed in reverse order to mimic Hebrew writing; the rightmost value is the 0 item
Defined in
node_modules/havarotjs/dist/types/text.d.ts:60
article?
optional
article:boolean
Determines whether to regard the sheva under the letters ילמ when preceded by the article and with a missing dagesh chazaq as as a sheva na’.
Default Value
true
Example
Remarks
Results in example displayed in reverse order to mimic Hebrew writing; the rightmost value is the 0 item
Defined in
node_modules/havarotjs/dist/types/text.d.ts:80
holemHaser?
optional
holemHaser:"update"
|"preserve"
|"remove"
How to handle the code point \u{05BA} HOLAM HASER FOR VAV
Options
- “update” - converts all holems in a vav + holem sequence where vav is a consonant to HOLAM HASER FOR VAV
- “preserve” - leaves the text as is — does not remove HOLAM HASER FOR VAV, but does not update
- “remove” - converts all HOLAM HASER FOR VAV to regular holem
Default Value
"preserve"
Examples
update
preserve
remove
Defined in
node_modules/havarotjs/dist/types/text.d.ts:122
ketivQeres?
optional
ketivQeres:KetivQere
[]
An array of KetivQere objects for mimicing the Ketiv and Qere system found in manuscripts and texts
Default Value
undefined
Examples
default
Using optional syntax
captureTaamim
set to true
ignoreTaamim
set to false
input
as a regular expression, and output
as a callback
Remarks
KetivQere objects allow for flexible handling of words, mimicking how ketiv/qeres are used in biblical manuscripts
Defined in
node_modules/havarotjs/dist/types/text.d.ts:209
longVowels?
optional
longVowels:boolean
Determines whether to regard a sheva after a long vowel (excluding waw-shureq, see wawShureq) as a sheva na’, unless preceded by a meteg (see shevaAfterMeteg).
Default Value
true
Example
Remarks
Results in example displayed in reverse order to mimic Hebrew writing; the rightmost value is the 0 item
Defined in
node_modules/havarotjs/dist/types/text.d.ts:229
qametsQatan?
optional
qametsQatan:boolean
Converts regular qamets characters to qamets qatan characters where appropriate. The former is a “long-vowel” whereas the latter is a “short-vowel.”
Default Value
true
Example
Defined in
node_modules/havarotjs/dist/types/text.d.ts:247
shevaAfterMeteg?
optional
shevaAfterMeteg:boolean
Determines whether to regard the sheva after a meteg as a sheva na’.
Default Value
true
Example
Defined in
node_modules/havarotjs/dist/types/text.d.ts:273
shevaWithMeteg?
optional
shevaWithMeteg:boolean
Determines whether to regard a sheva with a meteg as a sheva na’. This is also called a sheva ga’ya.
Default Value
true
Example
Defined in
node_modules/havarotjs/dist/types/text.d.ts:297
sqnmlvy?
optional
sqnmlvy:boolean
Determines whether to regard the sheva under the letters שׁשׂסצנמלוי when preceded by a waw-consecutive with a missing dagesh chazaq as a sheva na’, unless preceded by a meteg (see shevaAfterMeteg).
Default Value
true
Example
Defined in
node_modules/havarotjs/dist/types/text.d.ts:314
strict?
optional
strict:boolean
Determines whether to syllabify incorrectly pointed text
Default Value
true
Example
Remarks
When false
results in syllabification can vary.
Defined in
node_modules/havarotjs/dist/types/text.d.ts:333
wawShureq?
optional
wawShureq:boolean
Determines whether to regard a sheva after a vav-shureq as vocal, unless preceded by a meteg (see shevaAfterMeteg).
Default Value
true
Example
Remarks
Results in example displayed in reverse order to mimic Hebrew writing; the rightmost value is the 0 item
Defined in
node_modules/havarotjs/dist/types/text.d.ts:353