Skip to content

Fixed regex for words containing "aine" in sonnex.js#184

Open
knokknok wants to merge 1 commit intoYomguithereal:masterfrom
knokknok:patch-1
Open

Fixed regex for words containing "aine" in sonnex.js#184
knokknok wants to merge 1 commit intoYomguithereal:masterfrom
knokknok:patch-1

Conversation

@knokknok
Copy link
Copy Markdown

sonnex("capitaine") -> kE
Should be:
sonnex("capitaine") -> kapitEn

sonnex("capitaine") -> kE
Should be:
sonnex("capitaine") -> kapitEn
@Yomguithereal
Copy link
Copy Markdown
Owner

@knokknok looks sensible indeed. Can you add a unit test validating your change please?

Also, if you are interested in French phonetic algorithms I have a way better one here:https://github.com/Yomguithereal/phonogram although undocumented.

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.

2 participants