timmahrt / praatIO

A python library for working with praat, textgrids, time aligned audio transcripts, and audio files. It is primarily used for extracting features from and making manipulations on audio files given hierarchical time-aligned transcriptions (utterance > word > syllable > phone, etc).
MIT License
299 stars 32 forks source link

Add fuzzy search for Intervals and Points #35

Closed timmahrt closed 2 years ago

timmahrt commented 2 years ago

This PR makes it so that two intervals or points that are almost the same will be considered the same (basically resolves issues with floating point values).

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.06%) to 68.164% when pulling aa35646e7f9f53a574599e23f2a618a817e671bb on fuzzy_equivalence_for_intervals_and_points into 41a4daac0622a1f39baf52279e625c2e63095293 on main.