charlesLoder/hebrew-transliteration

Shin dot lost in remove()

charlesLoder opened this issue · 0 comments

Shin dots are lost using heb.remove().

In transliterate.ts, the cantillation is stripped using Remove() including the shin dots (U+05C1), but not the śin dots (U+05C2). This creates a dichotomy between ש (U+05E9) w/o a dot (i.e. shin) and w/ a dot (i.e. śin) used for transliteration.

However, the top level heb.remove() should not remove shin dot, especially if niqqud is present.

Will add the options to remove shin and sin dots, which is likely the best option