def kaldi_to_nt_example_id(example_id: str):
    """
    >>> kaldi_to_nt_example_id('P28_S09_LIVING.R-0714562-0714764')
    'P28_S09_0714562-0714764'
    >>> kaldi_to_nt_example_id('P05_S02_U02_KITCHEN.ENH-0007012-0007298')  # doctest: +ELLIPSIS
    Traceback (most recent call last):
    ...
    NotImplementedError: Array IDs like "P05_S02_U02_KITCHEN.ENH-0007012-0007298"" are currently unsupported, becasuse they have different timestamps.
    >>> kaldi_to_nt_example_id('P09_S03_U01_NOLOCATION.CH1-0005948-0006038')  # doctest: +ELLIPSIS
    Traceback (most recent call last):
    ...
    NotImplementedError: Array IDs like "P09_S03_U01_NOLOCATION.CH1-0005948-0006038"" are currently unsupported, becasuse they have different timestamps.
    """
    try:
        split = example_id.split('_')
        if len(split) == 4:
            raise NotImplementedError(
                f'Array IDs like "{example_id}"" are currently unsupported, '
                f'becasuse they have different timestamps.'
            )
        P, S, remaining = split
        _, start, end = remaining.split('-')
        return f'{P}_{S}_{start}-{end}'
    except NotImplementedError as e:
        raise
    except Exception as e:
        raise ValueError(example_id) from e