using BiblicalHebrew
Other functions for working with Hebrew orthography
The package includes a number of functions to simplify working with the orthography of Biblical Hebrew.
Find the Unicode label for a codepoint.
= 'ד'
ch codept_name(ch)
"dalet"
Normalize or reduce string
Reduce a string to a consonantal representation by stripping off accents and vocalization markings. Since the font used by Julia’s Documenter
package does not display these additional codepoints, we will verify that they in fact are present by checking the list of codepoints in the string.
Original pointed string:
= "הַדְּבָרִ֗ים" s1
"הַדְּבָרִ֗ים"
Consonantal reduction:
= BiblicalHebrew.unpointed(s1) stripped
"הדברים"
Reduce a string to consonants and vowel points only by stripping off punctuation, accents or other cantillation marks.
= "בִלְהָ֛ה" accented
"בִלְהָ֛ה"
Consonants and vowel points only:
= BiblicalHebrew.rm_accents(accented) unaccented
"בִלְהָה"
Test individual characters
Determine if individual characters in a String are consonants or vowe points in Biblical Hebrew.
= collect(s1)
codepoints is_consonant(codepoints[1]) BiblicalHebrew.
true
is_vowelpoint(codepoints[1]) BiblicalHebrew.
false
is_consonant(codepoints[2]) BiblicalHebrew.
false
is_vowelpoint(codepoints[2]) BiblicalHebrew.
true
TBA: EXPANDED CHARACTER TESTING
- all alphabetic have named constants
- is_consonant, is_vowel, is_sheva
- is_guttural
Vectors: - matres -