TextGrid_wordBoundaries.praat 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # TextGrid_wordBoundaries.praat
  2. Read from file: "wordBoundaries.TextGrid"
  3. n = Count intervals where: 1, "is equal to", "hallo"
  4. assert n = 0
  5. n = Count intervals where: 1, "is equal to", "This is a test for word boundaries"
  6. assert n = 1
  7. n = Count intervals where: 1, "contains a word equal to", "hallo"
  8. assert n = 0
  9. n = Count intervals where: 1, "contains a word equal to", "This is a test for word boundaries"
  10. assert n = 1
  11. n = Count intervals where: 1, "contains a word equal to", "test"
  12. assert n = 1
  13. n = Count intervals where: 1, "contains a word equal to", "tes"
  14. assert n = 0
  15. n = Count intervals where: 1, "contains a word starting with", "test"
  16. assert n = 1
  17. n = Count intervals where: 1, "contains a word starting with", "tes"
  18. assert n = 1
  19. n = Count intervals where: 1, "contains a word ending with", "est"
  20. assert n = 1
  21. n = Count intervals where: 1, "contains a word ending with", "test"
  22. assert n = 1
  23. n = Count intervals where: 1, "contains a word equal to", "This"
  24. assert n = 1
  25. n = Count intervals where: 1, "contains a word equal to", "This is"
  26. assert n = 1
  27. n = Count intervals where: 1, "contains a word equal to", "This i"
  28. assert n = 0
  29. n = Count intervals where: 1, "contains a word equal to", "boundaries"
  30. assert n = 1
  31. n = Count intervals where: 1, "contains a word equal to", "oundaries"
  32. assert n = 0
  33. n = Count intervals where: 1, "contains a word equal to", "ord boundaries"
  34. assert n = 0
  35. n = Count intervals where: 1, "contains a word equal to", "d boundaries"
  36. assert n = 0
  37. n = Count intervals where: 1, "contains a word equal to", "word boundaries"
  38. assert n = 1
  39. Remove