The interview problem

Practice prompt

Design pronunciation feedback for a language-learning exercise with a known target sentence.

Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.

1. Scope and worked approach

Assume educational feedback, not an accent-based eligibility decision. Align prompted text to audio, estimate phone-level mismatch evidence and present a small number of actionable suggestions with replay spans. Use annotators trained on comprehensibility rather than resemblance to one accent. Split by speaker and include multiple accepted pronunciations. A baseline detects missing words and gross duration mismatches before fine-grained scoring. Store consent and deletion controls with recordings; low audio quality should trigger rerecording.

2. Trace the design or derivation

Check recording
  → align target
  → score evidence spans
  → suppress uncertain advice
  → learner replay

The learning experiment should compare feedback with a simpler replay-only control using blinded follow-up exercises. Improvement on the exact practiced sentence may reflect memorization. Include new sentences with similar sound patterns, and monitor whether repeated false corrections cause learners to adopt less intelligible pronunciations.

3. Calculate the example

If 18 of 20 required words are aligned, coverage is 90%. A pronunciation score computed only on those 18 must not conceal the two missing words or be represented as an overall 90% pronunciation grade.

4. Failure cases and trade-offs

Microphone distortion can appear as phone errors, and reference pronunciation dictionaries may exclude valid variants. A single scalar is simple but hides uncertainty; span-specific feedback is easier to contest. Suppress fine-grained advice when alignment or recording quality is weak.

5. Validation, follow-ups and self-review

Compare with blinded human judgments by speaker group and device. Follow-up: how do you validate that feedback improves learning? Self-review: separate intelligibility, completeness and recording quality, with an explicit abstention rule.

Sources and related practice

Technical reference: arxiv.org — Speech-processing toolkit background; pronunciation and segmentation product designs are original.

Source publication/update: Submitted March 30, 2018. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.

Continue with Design a real-time voice assistant; Align supplied subtitles to speech.

Continue your preparation

Choose a connected learning path or browse more ML system design questions. Read our editorial method and attribution policy.