Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isAccented incorrect with pashta/qadma #133

Closed
charlesLoder opened this issue Jul 2, 2023 · 0 comments · Fixed by #134
Closed

isAccented incorrect with pashta/qadma #133

charlesLoder opened this issue Jul 2, 2023 · 0 comments · Fixed by #134
Assignees

Comments

@charlesLoder
Copy link
Owner

charlesLoder commented Jul 2, 2023

When a word has two pashta characters (U+0599), the first is most likely a qadma. It seems most texts use the same character, though they are different semantically.

console.log( new Text("הַמַּ֙יִם֙").syllables.map(s => s.isAccented) );

// current
// [ false, true, true ]

// expected
// [ false, true, false ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant