phoneme scorer and its trainer