prosodylab / Prosodylab-Aligner

Python interface for forced audio alignment using HTK and SoX
http://prosodylab.org/tools/aligner/
MIT License
331 stars 77 forks source link

ERROR [+1232] cannot find word in dictionary #63

Closed TaylorWJones closed 7 years ago

TaylorWJones commented 7 years ago

I am getting the following error:

ERROR [+1232] NumParts: Cannot find word 'ali in dictionary FATAL ERROR - Terminating program HLEd

I checked the obvious (\'ali is in the dictonary, and has the necessary backslash, capitalization is fine...). Any suggestions?

kylebgorman commented 7 years ago

The HTK backend (which is where that error is coming from) has a horrible time with word-initial ASCII punctuation, but not in a way that is like, documented, sigh.

Assuming the two strings are a perfect byte-for-byte match (no unicode normalization issues, etc.), the best bet is to do without (or if this is intended to be, say a glottal stop), sorry to say, or to escape it with .

On Wed, Jul 26, 2017 at 8:55 PM, Taylor Jones notifications@github.com wrote:

I am getting the following error:

ERROR [+1232] NumParts: Cannot find word 'ali in dictionary FATAL ERROR - Terminating program HLEd

I checked the obvious ('ali is in the dictonary, and has the necessary backslash, capitalization is fine...). Any suggestions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prosodylab/Prosodylab-Aligner/issues/63, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJuObRcvZxnuU-TddxkquoRro9ElNC2ks5sR9_ngaJpZM4OkqjV .

TaylorWJones commented 7 years ago

Thanks! I think I just sorted it out by just redoing the whole dictionary and transcripts. Now I'm on to a different error.