Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a Good package for Phonetic Representation for Various Human Languages?

I'm currently working on a project for which I think being able to come up with phonetic representations of words in various languages would be really helpful. I know Aspell does this pretty well, but I don't think there's a very easy way to get at their phonetic representations, so I ask: is there some other good package for getting the phonetic representation of a word given the word and the language/dialect/accent/whatever it's coming from?

This doesn't need to be in any particular language, but if it were Perl, that would be best.

I've already tried Soundex, Metaphone, DoubleMetaphone, and everything else in Text::Phonetic, and none of that stuff was very good – definitely nowhere near as good as the stuff in Aspell.

like image 618
Eli Avatar asked Nov 04 '22 07:11

Eli


1 Answers

The first thing that springs to mind is Soundex. Of course, there is a Perl module Soundex, too. While this is designed to generate a soundex "key" from input it might be useful in mapping different variants to a common key.

like image 91
JRFerguson Avatar answered Nov 07 '22 22:11

JRFerguson