Docsity

Algorithm for Identifying Speech Endpoints: Word Recognition in Noisy Environments, Slides of Computer Science

Partial preview of the text

Download Algorithm for Identifying Speech Endpoints: Word Recognition in Noisy Environments and more Slides Computer Science in PDF only on Docsity!

An Algorithm for Determining the

Endpoints for Isolated Utterances

Outline

  • Intro to problem
  • Solution
  • Algorithm
  • Summary

Visual Recognition

  • Easy
  • Note how quiet beginning is (tape)

“Eight”

Slightly Tougher Visual Recognition

  • “sss” starts crossing the ‘zero’ line, so can still detect

“Six”

Tough Visual Recognition

  • Eye picks ‘A’, but ‘B’ is real endpoint
    • V becomes devoiced

“Five”

Tough Visual Recognition

  • Difficult to say where final trailing off ends

“Nine”

The Solution

  • Two measurements:
    • Energy
    • Zero crossing rate
  • Simple, fast, accurate

Energy

  • Sum of magnitudes of 10 ms of sound, centered on interval:

– E(n) = Σ i =-50 to 50 | s(n + i) |

The Algorithm: Startup

  • At initialization, record sound for 100ms
    • Assume ‘silence’
    • Measure background noise
  • Compute average (IZC’) and std dev (σ) of zero crossing rate
  • Choose Zero-crossing threshold (IZCT)
    • Threshold for unvoiced speech
    • IZCT = min(25 / 10ms, IZC’ * 2 σ)

The Algorithm: Thresholds

  • Compute energy, E ( n ), for interval
    • Get max, IMX
    • Have silence, IMN I 1 = 0.03 * (IMX – IMN) + IMN (3% of peak energy) I 2 = 4 * IMN (4x silent energy)
  • Get energy thresholds (ITU and ITL)
    • ITL = MIN( I 1, I 2)
    • ITU = 5 * ITL

The Algorithm: Zero Crossing

Computation

  • Search back 250 ms
    • Count number of intervals where rate exceeds IZCT - If 3+, set starting point, s , to first time - Else s remains the same
  • Do similar search after end

The Algorithm: Example

(Word begins with strong fricative)

Algorithm:

Examples

“Four”

Notice how different each “four” is

Evaluation: Part 1

  • 54-word vocabulary
  • Read by 2 males, 2 females
  • No gross errors (off by more than 50ms)
  • Some small errors
    • Losing weak fricatives
    • None affected recognition