Closed zyh3826 closed 1 year ago
I also try this, get the same results:
for word in decoder.get_alignment():
for phone in word:
for state in phone:
print(word, phone, state)
Hi! Sorry for the long time to reply, I am just catching up on PocketSphinx-related stuff now.
As it turns out the AlignmentEntry
should be documented, but was accidentally left out of the online documentation - I will fix this in the next release, shortly. You can see its documentation by running python -m pydoc pocketsphinx._pocketsphinx.AlignmentEntry
See also its docstring here: https://github.com/cmusphinx/pocketsphinx/blob/master/cython/_pocketsphinx.pyx#L1992
Got it, thanks for your reply
Hi, thanks for your work, it's really nice. I use the code below to run an alignment:
the result is an![image](https://user-images.githubusercontent.com/31238754/236429607-8c943972-5ec7-4a7f-9331-bb0a0315f41f.png)
AlignmentEntry
object, how can I find documents of this object? What are its attributions? Can't find it in your documents.thanks a lot.