Text
Text
is the main exported class.
Constructors
new Text()
new Text(
text
,options
?):Text
Text
requires an input string,
and has optional arguments for syllabification,
which can be read about in the {@page Syllabification} page
Parameters
Parameter | Type | Description |
---|---|---|
text | string | input string |
options ? | SylOpts | syllabification options |
Returns
Defined in
node_modules/havarotjs/dist/types/text.d.ts:242
Accessors
chars
get
chars():Char
[]
Returns
Char
[]
a one dimensional array of Chars
Defined in
node_modules/havarotjs/dist/types/text.d.ts:319
clusters
get
clusters():Cluster
[]
Returns
Cluster
[]
a one dimensional array of Clusters
Defined in
node_modules/havarotjs/dist/types/text.d.ts:305
original
get
original():string
Returns
string
the original string passed
Defined in
node_modules/havarotjs/dist/types/text.d.ts:257
syllables
get
syllables():Syllable
[]
Returns
Syllable
[]
a one dimensional array of Syllables
Defined in
node_modules/havarotjs/dist/types/text.d.ts:292
text
get
text():string
Returns
string
a string that has been decomposed, sequenced, qamets qatan patterns converted to the appropriate unicode character (U+05C7), and holem-waw sequences corrected
Defined in
node_modules/havarotjs/dist/types/text.d.ts:268
words
get
words():Word
[]
Returns
Word
[]
a one dimensional array of Words
Defined in
node_modules/havarotjs/dist/types/text.d.ts:278