def METHOD_NAME(phn):
    phn_list = phn.strip().split()
    yield phn_list
    phn_encoded = label_encoder.encode_sequence_torch(phn_list)
    phn_encoded_bos = label_encoder.prepend_bos_index(phn_encoded).long()
    yield phn_encoded_bos
    phn_encoded_eos = label_encoder.append_eos_index(phn_encoded).long()
    yield phn_encoded_eos