HMM automatic vowel detection
#11
I have run the Python script on an English text (A Christmas Carol, by Charles Dickens).

Vowels and consonant are still nicely separated in the runs when the optimization performs well. In some runs, they aren't.
The additional difficulty is of course the presence of several consonant digraphs. Also the results illustrated in the attachments are almost “confused” about 'c' which is generated with 2.2% probability by the consonant state and 1.8% probability by the vowel state.

   

For instance, in these cases 'c' appears between two consonants, a position typical of vowels:

watched
kitchens
exclaimed
included
church
scrooge

What this algorithm does is trying to predict which character will occur given the class of the preceding character. Setting the model to only two states basically implies that there only are two classes of characters. These tend to map to consonants and vowels because consonants and vowels tend to alternate. State transition probabilities make this clear: the loops mapping state 0 to itself and state 1 to itself have much smaller probabilities than moving from 0 to 1 and from 1 to 0. The loops actually represent consonant-consonant and vowel-vowel sequences.


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
HMM automatic vowel detection - by MarcoP - 26-09-2017, 09:20 AM
RE: HMM automatic vowel detection - by Koen G - 26-09-2017, 09:45 AM
RE: HMM automatic vowel detection - by MarcoP - 26-09-2017, 10:57 AM
RE: HMM automatic vowel detection - by Koen G - 26-09-2017, 11:18 AM
RE: HMM automatic vowel detection - by Davidsch - 26-09-2017, 01:26 PM
RE: HMM automatic vowel detection - by ReneZ - 26-09-2017, 07:36 PM
RE: HMM automatic vowel detection - by Davidsch - 27-09-2017, 12:43 PM
RE: HMM automatic vowel detection - by MarcoP - 27-09-2017, 09:37 PM
RE: HMM automatic vowel detection - by -JKP- - 27-09-2017, 11:59 PM
RE: HMM automatic vowel detection - by MarcoP - 28-09-2017, 10:22 AM
RE: HMM automatic vowel detection - by Davidsch - 28-09-2017, 12:07 PM
RE: HMM automatic vowel detection - by MarcoP - 28-09-2017, 12:29 PM
RE: HMM automatic vowel detection - by ReneZ - 28-09-2017, 08:05 PM
RE: HMM automatic vowel detection - by MarcoP - 28-09-2017, 08:32 PM
RE: HMM automatic vowel detection - by MarcoP - 28-09-2017, 09:43 PM
RE: HMM automatic vowel detection - by MarcoP - 28-09-2017, 09:35 PM
RE: HMM automatic vowel detection - by ReneZ - 29-09-2017, 05:45 AM
RE: HMM automatic vowel detection - by MarcoP - 29-09-2017, 04:24 PM
RE: HMM automatic vowel detection - by Davidsch - 29-09-2017, 06:03 PM
RE: HMM automatic vowel detection - by Koen G - 30-09-2017, 10:23 PM
RE: HMM automatic vowel detection - by -JKP- - 01-10-2017, 12:26 AM
RE: HMM automatic vowel detection - by MarcoP - 01-10-2017, 10:28 AM
RE: HMM automatic vowel detection - by Koen G - 01-10-2017, 10:52 AM
RE: HMM automatic vowel detection - by MarcoP - 01-10-2017, 12:16 PM
RE: HMM automatic vowel detection - by Koen G - 01-10-2017, 12:25 PM
RE: HMM automatic vowel detection - by ReneZ - 01-10-2017, 01:18 PM
RE: HMM automatic vowel detection - by MarcoP - 01-10-2017, 01:51 PM
RE: HMM automatic vowel detection - by Koen G - 01-10-2017, 01:46 PM
RE: HMM automatic vowel detection - by MarcoP - 01-10-2017, 02:04 PM
RE: HMM automatic vowel detection - by ReneZ - 01-10-2017, 02:10 PM
RE: HMM automatic vowel detection - by ReneZ - 03-10-2017, 08:14 AM
RE: HMM automatic vowel detection - by MarcoP - 03-10-2017, 07:39 PM
RE: HMM automatic vowel detection - by MarcoP - 28-11-2018, 06:07 PM
RE: HMM automatic vowel detection - by MarcoP - 30-11-2018, 11:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)