Skip to content

Commit

Permalink
Merge pull request #385 from jsalsman/patch-1
Browse files Browse the repository at this point in the history
Fix _pocketsphinx.pyx's set_alignment example
  • Loading branch information
dhdaines authored May 5, 2024
2 parents 7be89aa + 88c3cc0 commit 10c1b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cython/_pocketsphinx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@ cdef class Decoder:
for word in decoder.get_alignment():
for phone in word:
for state in phone:
print(word, phone, state)
print(word.name, phone.name, state.start)
That's a lot of code, so it may get simplified, either here or
in a derived class, before release.
Expand Down

0 comments on commit 10c1b7b

Please sign in to comment.