Skip to content

Create Gurmukhi base and nasalization hooks.#241

Merged
scossu merged 2 commits intomainfrom
gurmukhi
Sep 5, 2025
Merged

Create Gurmukhi base and nasalization hooks.#241
scossu merged 2 commits intomainfrom
gurmukhi

Conversation

@scossu
Copy link
Copy Markdown
Collaborator

@scossu scossu commented Aug 24, 2025

Tested on a very small data set, but the nasalization rules seem to be applied correctly.

The only inconvenience of the hierarchical approach is that hooks are not yet inheritable (I gave it a try but the logic is more complex than I want to tackle at the moment), therefore the nasalization hook must be added to all the languages that need such rules applied.

This PR also slightly alters the transliteration flow in that it adds a new ctx.orig member, which is now the read-only original source. ctx.src becomes read-write, so there is no need for hacky assignments to ctx._src.

@thisismattmiller
Copy link
Copy Markdown
Member

Just to be clear this issue is assigned to us, is it supposed to be review requested, or is there something we need to work on?

@scossu scossu merged commit d9a93a4 into main Sep 5, 2025
@scossu scossu deleted the gurmukhi branch September 5, 2025 17:55
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 this pull request may close these issues.

3 participants