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

FONEM rule C-27 #154

Open
chrislit opened this issue Aug 28, 2018 · 3 comments
Open

FONEM rule C-27 #154

chrislit opened this issue Aug 28, 2018 · 3 comments

Comments

@chrislit
Copy link

Hi @Yomguithereal, I finally got around to implementing FONEM in Abydos. I found the paper a bit lacking in specifics also, especially with respect to the rule ordering. And I don't have very high confidence that my implementation is entirely correct.
But I do think I spotted one bug in your rule C-27 (unless I misunderstood the rule, since I don't read French). My understanding is that C-27 should change Z to S when preceded by a vowel or between two consonants, but your regexp makes the change when followed by a vowel or between two consonants.
As a result, I got different results on the inputs OZOUADE and POUYEZ.

@Yomguithereal
Copy link
Owner

Hum... I need to find the paper back from my computer and check that. Thanks @chrislit.

@Yomguithereal
Copy link
Owner

You're right. It seems I messed up. Can you just tell me what you got with OZOUADE and POUYEZ?

@Yomguithereal
Copy link
Owner

This algorithm is very messy though :). I you ever need a better algorithm for French I started phonetic algorithms myself there. The French one is very good but quite complex and I need a straightforward rules' format so that it becomes easier to port to other languages. You can test it here. But note that only the French and Spanish ones are correct. The other languages are not finished.

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

No branches or pull requests

2 participants