Estrangela ASCII code font utilities
In order to use this library, Node.js should be installed. Then run:
npm install estrangela-code-util --save
Following bundles are available:
estrangela-code-util.js
- UMD ES5 version for use in browser, node, etc.estrangela-code-util.min.js
- minified version ofestrangela-code-util.js
estrangela-code-util.esm.js
- ES6 module version, suitable for bundling with other libraries and applications
The package could also be downloaded directly from: https://registry.npmjs.org/estrangela-code-util/-/estrangela-code-util-1.1.0.tgz
Estrangela Font Encoding Chart
The final goal for this work is to learn the Word of God as recorded by Peshitta. You are welcomed to improve this implementation or provide feedback. Please feel free to Fork, create a Pull Request or submit Issues.
To read quick updates about Peshitta app or post questions or feedback, follow @peshittap at or
npm install
npm run build
- estrangelaCodeUtil
- .consonantsByName :
Object.<string, string>
- .baseConsonants :
Array.<string>
- .finalConnected :
Array.<string>
- .finalNonConnected :
Array.<string>
- .ligatures :
Array.<string>
- .allConsonants :
Array.<string>
- .unconnected :
Array.<string>
- .vowelsByName :
Object.<string, string>
- .commonVowels :
Array.<string>
- .easternVowels :
Array.<string>
- .shiftedVowels :
Array.<string>
- .baseVowels :
Array.<string>
- .allVowels :
Array.<string>
- .diacriticsByName :
Object.<string, string>
- .commonDiacritics :
Array.<string>
- .easternDiacritics :
Array.<string>
- .baseDiacritics :
Array.<string>
- .shiftedDiacritics :
Array.<string>
- .allDiacritics :
Array.<string>
- .punctuation :
Array.<string>
- .joiners :
Array.<string>
- .letterAsciiMap :
Object.<string, string>
- .dotting :
Array.<string>
- .isConsonant ⇒
boolean
- .isVowel ⇒
boolean
- .isDiacritic ⇒
boolean
- .isPunctuation ⇒
boolean
- .isJoiner ⇒
boolean
- .isEasternDiacritic ⇒
boolean
- .isUnconnected ⇒
boolean
- .isDotting ⇒
boolean
- .endify ⇒
string
- .isDotted ⇒
boolean
- .removeDotting ⇒
string
- .sort ⇒
number
- .consonantsByName :
Estrangela consonant name to value map
Kind: static constant of estrangelaCodeUtil
Estrangela base consonants - the 22 aramaic consonants
Kind: static constant of estrangelaCodeUtil
Estrangela final connected modified consonants
Kind: static constant of estrangelaCodeUtil
Estrangela final non-connected modified consonants
Kind: static constant of estrangelaCodeUtil
Estrangela 2 ligatures
Kind: static constant of estrangelaCodeUtil
All Estrangela font consonants
Kind: static constant of estrangelaCodeUtil
Estrangela consonants unconnected on the left
Kind: static constant of estrangelaCodeUtil
Estrangela vowel name to value map
Kind: static constant of estrangelaCodeUtil
Estrangela common vowels - common to both eastern and western
Kind: static constant of estrangelaCodeUtil
Estrangela eastern only vowels
Kind: static constant of estrangelaCodeUtil
Estrangela shifted vowels (SHIFT key on)
Kind: static constant of estrangelaCodeUtil
Estrangela vowels (both common and eastern) - excluding shifted
Kind: static constant of estrangelaCodeUtil
All Estrangela vowels (including shifted)
Kind: static constant of estrangelaCodeUtil
Sedra/CAL diacritic name map
- qushaya: 2 - dot above
- rukkakha: 3 - dot below
- lineaOccultans: 5 - linea occultans
- seyame: * - seyame, rebwe
Kind: static constant of estrangelaCodeUtil
Estrangela base/common diacritics (both western and eastern)
Kind: static constant of estrangelaCodeUtil
Estrangela eastern specific diacritics
Kind: static constant of estrangelaCodeUtil
Estrangela diacritics - excluding shifted
Kind: static constant of estrangelaCodeUtil
Estrangela shifted diacritics
Kind: static constant of estrangelaCodeUtil
All Estrangela diacritics (including shifted)
Kind: static constant of estrangelaCodeUtil
Estrangela punctuation
Kind: static constant of estrangelaCodeUtil
Estrangela joiners
Kind: static constant of estrangelaCodeUtil
Estrangela to ordinal ASCII value. Used for sorting: a b c d e f g h i j k l m n o p q r s t u v w x y z { | }
Kind: static constant of estrangelaCodeUtil
Vowels and diacritics: used for consonantal only mapping
Kind: static constant of estrangelaCodeUtil
Is character c an Estrangela consonant
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is Estrangela consonant
Param | Type | Description |
---|---|---|
c | string |
input character |
Is character c an Estrangela vowel
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is Estrangela vowel
Param | Type | Description |
---|---|---|
c | string |
input character |
Is character c an Estrangela diacritic
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is Estrangela diacritic
Param | Type | Description |
---|---|---|
c | string |
input character |
Is character c an Estrangela punctuation
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is Estrangela punctuation
Param | Type | Description |
---|---|---|
c | string |
input character |
Is character c an Estrangela joiner
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is Estrangela joiner
Param | Type | Description |
---|---|---|
c | string |
input character |
Is character c an Estrangela Eastern Diacritic
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is Estrangela Eastern Diacritic
Param | Type | Description |
---|---|---|
c | string |
input character |
Is character c an unconnected on the left Estrangela consonant
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is unconnected on the left consonant
Param | Type | Description |
---|---|---|
c | string |
input character |
Returns true if c is dotting character
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if c is dotting
Param | Type | Description |
---|---|---|
c | string |
input character |
Fix end consonant for a word in base Estrangela font
Kind: static constant of estrangelaCodeUtil
Returns: string
- word with end consonant corrected
Param | Type | Description |
---|---|---|
word | string |
input word |
Return true if input word has vowels or diacritics
Kind: static constant of estrangelaCodeUtil
Returns: boolean
- true if word has vowels or diacritics
Param | Type | Description |
---|---|---|
word | string |
input word |
Remove dotting (vowels and diacritics), leaving consonantal word only.
Kind: static constant of estrangelaCodeUtil
Returns: string
- consonantal word
Param | Type | Description |
---|---|---|
word | string |
input word to be processed |
Comparator function to be used for sorting Estrangela words
Kind: static constant of estrangelaCodeUtil
Returns: number
- -1, 0, 1 depending on word sorting
Param | Type | Description |
---|---|---|
word1 | string |
first word to compare |
word2 | string |
second word to compare |