Skip to content

Commit

Permalink
had to fix find overlaps for mfa
Browse files Browse the repository at this point in the history
  • Loading branch information
JoFrhwld committed Oct 29, 2020
1 parent 1270150 commit 1fda17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FAVE-extract/bin/extractFormants.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def addOverlaps(words, tg, speaker):
# if boundaries overlap and interval not empty
if ((((i.xmin() <= p.xmin) or (p.xmin <= i.xmin() <= p.xmax))
and ((i.xmax() >= p.xmax) or (p.xmin <= i.xmax() <= p.xmax)))
and i.mark().upper() != "SP"):
and not i.mark().upper() in ["SP","sil",""]):
p.overlap = True
pointer[sn] += 1
# go back one interval, since the last interval needs
Expand Down
1 change: 1 addition & 0 deletions FAVE-extract/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ faav
--remeasure
--vowelSystem
phila
--mfa

0 comments on commit 1fda17d

Please sign in to comment.