Aligning an existing transcript #2971
samuelbradshaw
started this conversation in
General
Replies: 1 comment
-
|
Yes. For an existing Chinese transcript, use FunASR's from funasr import AutoModel
model = AutoModel(model="fa-zh")
result = model.generate(
input=("audio.wav", "transcript.txt"),
data_type=("sound", "text"),
)
print(result)It returns token/character timestamps in milliseconds. See the timestamp/forced-alignment documentation. Scope note: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does this library provide a way to align an existing transcript to an audio recording?
Beta Was this translation helpful? Give feedback.
All reactions