Fixed the word_start variable not initialized bug.

This commit is contained in:
Arnav Mehta
2023-05-02 13:13:02 +05:30
committed by GitHub
parent e24ca9e0a2
commit 64ca208cc8

View File

@ -439,8 +439,8 @@ def align(
word_list.append(
{
"word": curr_text.rstrip(),
"start": word_start,
"end": word_end,
"start": wseg.iloc[wdx]['start'],
"end": wseg.iloc[wdx]['end'],
}
)