def phoneme_set(transcriptions):
  """Reduce list of lists of phonemes to a set of phonemes."""
  transcription_phonemes = set()
  for transcription in transcriptions:
    for phoneme in transcription:
      transcription_phonemes.add(phoneme)

  return transcription_phonemes