Skip to content

avoid overwriting inner_labels in k2.compose.#670

Merged
csukuangfj merged 1 commit intok2-fsa:masterfrom
csukuangfj:compose
Feb 23, 2021
Merged

avoid overwriting inner_labels in k2.compose.#670
csukuangfj merged 1 commit intok2-fsa:masterfrom
csukuangfj:compose

Conversation

@csukuangfj
Copy link
Copy Markdown
Collaborator

No description provided.

@csukuangfj
Copy link
Copy Markdown
Collaborator Author

Needed for k2-fsa/snowfall#106

https://github.com/k2-fsa/snowfall/blob/f6d3dcb4b0f1ab83024ba1fd9e8f92fe372db60d/snowfall/training/mmi_mbr_graph.py#L137

By default, den_lats does not have the attribute phones. This pull-request tries to avoid overwriting
the phones attribute for the num_graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant