Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add greedy time-constrained ORC-WER #91

Merged
merged 7 commits into from
Sep 17, 2024
Merged

Add greedy time-constrained ORC-WER #91

merged 7 commits into from
Sep 17, 2024

Conversation

thequilo
Copy link
Member

@thequilo thequilo commented Sep 6, 2024

No description provided.

@thequilo thequilo requested a review from boeddeker September 17, 2024 08:19
@boeddeker
Copy link
Member

We should add again a print in the cli. e.g. printing the files that are written and/or a summary of the WER.

tmp[current, 0] = tmp[prev, 0] + 1
for i in range(1, a.shape[0] + 1):
a_ = a[i - 1]
if a_begin[i - 1] >= b_end_ or b_begin_ >= a_end[i - 1]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we use touching as no overlap?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we decided for this in the time-constrained Levenshtein distance inn levenshtein.h and now everything is tested against that. I think the argument was that two time points should not overlap

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. I just wanted to ensure, that it is the same.

@thequilo
Copy link
Member Author

We should add again a print in the cli. e.g. printing the files that are written and/or a summary of the WER.

Yes, I agree. But that should be a separate PR.

@thequilo thequilo merged commit 9d5125a into main Sep 17, 2024
6 checks passed
@thequilo thequilo deleted the greedy_tcorc branch September 17, 2024 11:01
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.

2 participants