import re


def segment_syllables(volpiano: str) -> list:
    """Segment a string in segments corresponding to syllables. Any group of 2 
    or more dashes is a syllable boundary.

    >>> segment_syllables('f-g--hg---f------')
    ['fg', 'hg', 'f']

    Parameters
    ----------
    volpiano : str
        The string to segment

    Returns
    -------
    list
        A list of syllable-segments
    """
    volpiano = re.sub('-{3,}', '--', volpiano)
    volpiano = re.sub('--', ' ', volpiano).replace('-', '').strip()
    syllables = volpiano.split()
    return syllables