←back to thread

Phonetic Matching

(smoores.dev)
77 points raybb | 1 comments | | HN request time: 0.201s | source
Show context
ajuc ◴[] No.42172452[source]
This is one of these cases where inheriting hacked-together piece of crap (English spelling) makes a lot of additional work higher up.

Another example is poetry. A regex can find rhymes in Polish. Same postfix == it rhymes.

In English it's a feat of engineering.

replies(2): >>42173123 #>>42177123 #
wavemode ◴[] No.42173123[source]
It's really just a feat of data collection (e.g. rhymezone.com). You just compile all English words and record which ones rhyme with which.

(Yeah it's labor-intensive, but probably not moreso than, say, writing a dictionary.)

replies(1): >>42173377 #
williamdclt ◴[] No.42173377[source]
> You just compile all English words and record which ones rhyme with which

I suppose, if we ignore accents and heteronyms... both of which English is famous for, unfortunately!

replies(2): >>42175840 #>>42178737 #
1. ◴[] No.42178737[source]