charlesLoder / havarotjs

A Typescript package for getting syllabic data about Hebrew text with niqqud.
https://www.npmjs.com/package/havarotjs
MIT License
12 stars 6 forks source link

`vowelName` should return name of maters #141

Closed charlesLoder closed 10 months ago

charlesLoder commented 10 months ago

This:

const text = new Text("תִגְּע֖וּ").syllables.map((s) => s.vowelName);

console.log(text);
// [ 'HIRIQ', 'SHEVA', null ]

Should return

// [ 'HIRIQ', 'SHEVA', 'SHUREQ' ]
charlesLoder commented 10 months ago

This is really only for a shureq, as a shureq is the only vowel that doesn't have Unicode vowel characters