-
Hi, I have a cut and want to modify its text. Assigning |
Beta Was this translation helpful? Give feedback.
Answered by
desh2608
Oct 12, 2023
Replies: 1 comment 2 replies
-
I think the following should work: from lhotse.utils import fastcopy
new_cut = fastcopy(cut, supervisions=[fastcopy(cut.supervisions[0], text="bla")]) Also check out: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
RuABraun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the following should work:
Also check out:
CutSet.map_supervisions()
,CutSet.transform_text()
.