Functions

Published

July 11, 2024

Exported functions

codept_name

Look up Unicode summary name for a codepoint in the Hebrew range of Unicode.

Example

julia> codept_name('ב')
"bet"
codept_name(ch)

hiriq

Add hiriq to string s.

Example

julia> hiriq("ב")
"בִ"
hiriq(s)

holam

Add holam to string s.

Example

julia> holam("ב")
"בֹ"
holam(s)

metheg

Add metheg to string s.

Example

julia> qamats("ב") |> metheg
"בָֽ"
metheg(s)

patah

Add patah to string s.

Example

julia> patah("ב")
"בַ"
patah(s)

qamats

Add qamats to string s.

Example

julia> qamats("ב")
"בָ"
qamats(s)

qubbuts

Add qubbuts to string s.

Example

julia> qubbuts("ב")
"בֻ"
qubbuts(s)

seghol

Add seghol to string s.

Example

julia> seghol("ב")
"בֶ"
seghol(s)

sheva

Add sheva to string s.

Example

julia> sheva("ב")
"בְ"
sheva(s)

tsere

Add tsere to string s.

Example

julia> tsere("ב")
"בֵ"
tsere(s)

unpointed

Reduce a string to consonantal representation by removing all pointing and accents.

Example

julia> unpointed("קָמ")
"קמ"
unpointed(s)

Other functions

BiblicalHebrew.codept

Find Unicode codepoint for a hexadecimal string.

BiblicalHebrew.codept_split

Split string s into substrings separated by character c; if keep is true, also maintain c as a string in the resulting list.

BiblicalHebrew.dagesh

Add dagesh to string s.

dagesh(s)

BiblicalHebrew.gershe

Append gershe to string s.

BiblicalHebrew.has_sheva

True if a syllable has a sheva.

has_sheva(s)

BiblicalHebrew.has_vowelpoint

True if a grapheme (a String value) has a vowel point.

has_vowelpoint(s)

BiblicalHebrew.hebrew_chars

Compose a list of all defined characters in the Hebrew range of Unicode as Chars, sorted in Unicode order.

BiblicalHebrew.hex

Find hexadecimal string for an integer.

Find hexadecimal string for an integer.

Compose hexadecimal string for integer value of ch.

BiblicalHebrew.int

Find integer value of a hexadecimal string.

BiblicalHebrew.is_alphabetic

True if a Char is a vowel point, a consonant, or one of the Unicode combining characters that are part of writing consonantal values.

is_alphabetic(c)

BiblicalHebrew.is_begadkepat

True if initial consonant of s is a consonant in the begadkepat.

is_begadkepat(s)

BiblicalHebrew.is_consonant

True if Char is a Hebrew consonant.

is_consonant(c)

BiblicalHebrew.is_guttural

True if String begins with a guttural.

is_guttural(s)

BiblicalHebrew.is_long

True if a syllable is long.

is_long(s)

BiblicalHebrew.is_mater

True if a syllable represents a mater lectionis.

is_mater(s)

BiblicalHebrew.is_vowelpoint

True if Char is a Hebrew vowel point.

is_vowelpoint(c)

BiblicalHebrew.mappiq

Add mappiq to string s.

Example

julia> mappiq("ה")
"הּ"
mappiq(s)

BiblicalHebrew.maqaf_join

Connect a list of tokens together with maqaf.

Example

julia> maqaf_join(["עַל", "פְנֵי"])
"עַל־פְנֵי"
maqaf_join(v)

Join a pair of strings together with maqaf.

Example

julia> maqaf_join("עַל", "פְנֵי")
"עַל־פְנֵי"
maqaf_join(s1, s2)

BiblicalHebrew.ole

Add accent ole to string s.

Example

julia> ole("עוֹלֶה")
"עוֹלֶה֫"
ole(s)

BiblicalHebrew.reduced_vowel

True if a syllable has a reduced vowel.

reduced_vowel(s)

BiblicalHebrew.rm_accents

Remove all accents and cantillation marks from a string, leaving only consonants, vowel points and dagesh/mappiq (the same code point in Unicode).

rm_accents(s)

BiblicalHebrew.syllabify

Syllabify string.

syllabify(s)

BiblicalHebrew.tokenize_string

Tokenize a string s where s has already isolated the token separators maqaf and soph pasuq. This can be accomplished by feeding s to the tokenize function with a HebrewOrthography.

BiblicalHebrew.validcps

Compose a list of all defined codepoints in the Hebrew range of Unicode sorted in codepoint order.

validcps()

BiblicalHebrew.ws_chars

Whitespace characters accepted in this orthography