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

Possible bug-total_duration_of_labeled_segments #1

Open
rolandomunoz opened this issue Aug 31, 2017 · 0 comments
Open

Possible bug-total_duration_of_labeled_segments #1

rolandomunoz opened this issue Aug 31, 2017 · 0 comments

Comments

@rolandomunoz
Copy link

Dear Lennes:

In your script total_duration_of_labeled_segments.praat I found this piece of code:

if start2 <= start1 and end2 >= end1 and label2$ = label$
  total_duration = total_duration + duration
endif

This means that the intervals in the criterion_tier must be bigger or equal than those in the duration_tier to be counted. However, in the description you say that criterion_tier must be part of the intervals in tier number (duration_tier?)

This could be something like this?

if start2 >= start1 and end2 <= end1 and label2$ = label$
  total_duration = total_duration + duration
endif
` ``

Bests,
- Rolando
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

No branches or pull requests

1 participant