You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
4
+
## [1.1.5] - 2026-06-05
5
+
- Default `boundary_softness=3` is changed from 7 to 3 because at 3 it performs the best on TIMIT and buckeye dataset.
6
+
- Added warnings and parameter `self.warn_level` for verbose level. Use `PhonemeTimestampAligner.warn_level=3` for high verbosity.
7
+
- Fixed small segments alignment. Previously one-word or half-words ("umm or oh") raised error of not enough phonemes for the given duration. That is patched up here: https://github.com/tabahi/bournemouth-forced-aligner/commit/e58757b5ff9c3cb71303067a8050b06d01f80097#diff-c530cc1a536c371d38e233b3192f5f7935f97342d6460e039edc8107fbdf0348
8
+
9
+
10
+
3
11
## [1.1.4] - 2026-02-28
4
12
-`batch_size=16` parameter in `process_srt_file()` and `process_segments()`. Reduce it to prevent out-of-memory errors when processing large audio segments.
5
13
@@ -99,6 +107,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -623,7 +623,7 @@ PhonemeTimestampAligner(
623
623
enforce_all_targets=True, # Guarantee every phoneme in the transcript gets a timestamp
624
624
ignore_noise=True, # Skip predicted noise frames in output
625
625
extend_soft_boundaries=True, # Extend phoneme boundaries into adjacent low-confidence frames
626
-
boundary_softness=7, # How far to extend (2=tight cores only, 7=generous)
626
+
boundary_softness=3, # How far to extend (0=tight cores only, 7=generous)
627
627
bad_confidence_threshold=0.6# Flag segments where >60% of phonemes are low-confidence
628
628
)
629
629
```
@@ -648,7 +648,7 @@ PhonemeTimestampAligner(
648
648
|`ensure_completeness`|`False`| After decoding, inserts any missing phonemes at their best estimated position. Set `True` for extra completeness gaurantee. |
649
649
|`ignore_noise`|`True`| Drops predicted noise/silence frames from output. Set `False` to include them as `"noise"` entries. |
650
650
|`extend_soft_boundaries`|`True`| Extends phoneme boundaries into adjacent frames that still carry some acoustic evidence. |
651
-
|`boundary_softness`|`7`| Controls how far boundaries extend. `2`–`3` = tight phoneme cores; `7` = generous boundaries. |
651
+
|`boundary_softness`|`3`| Controls how far boundaries extend. `0`–`1` = tight phoneme cores; `7` = generous boundaries. `3` gives the best result on TIMIT|
652
652
|`bad_confidence_threshold`|`0.6`| Ratio of low-confidence phonemes that triggers a `bad_alignment` warning on a segment. |
aligner.warn_level =3# 0 = no warnings, 1 = important warnings (more critical for downstream tasks), 2 = all warnings (including low-confidence phonemes and bad confidence patterns). Critical errors will be raised as exceptions regardless of warn_level
687
690
```
688
691
689
692
Returns a dict with a `"segments"` key. See [example_advanced.py](examples/example_advanced.py).
0 commit comments