-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
featureIssue proposes a new featureIssue proposes a new feature
Description
Hi,
I am trying to align a transcript file (.txt) with an audio file (.wav). The alignment works well, and the words match perfectly with correct casing. However, I noticed that punctuation marks (such as commas and periods) are missing in the output.
For example, I expect to get "Together," instead of "Together". But in the alignment result, punctuation is not included:
{
"type": "sentence",
"text": "Together, they worked towards a brighter future, one where humanity could thrive once more.",
"startTime": 80.8748125,
"endTime": 85.59931250000001,
"timeline": [
{
"type": "word",
"text": "Together",
"startTime": 80.8748125,
"endTime": 81.3575
}
]
}
Here’s how I am calling the alignment function:
const options = {
language: 'eng'
};
console.log('Starting alignment process...');
// Perform the alignment
const result = await Echogarden.align(audioPath, transcript, options);
I checked the available interfaces but couldn't find an option to preserve punctuation. Could you please guide me on how to retain punctuation in the alignment result?
Thank you!
Metadata
Metadata
Assignees
Labels
featureIssue proposes a new featureIssue proposes a new feature