def _main(dataset_path):
    """
    Split to utterances
    """
    utterance_dir = os.path.join(dataset_path, "utterances")

    singer_infos = glob(dataset_path + "/*")

    for singer_info in singer_infos:
        singer = singer_info.split("/")[-1]

        for style in ["read", "sing"]:
            split_to_utterances(dataset_path, singer, style, utterance_dir)
Split to utterances
preprocessors/nus48e.py