def METHOD_NAME(word):
    """
    Returns a list of syllables of the word if it is a compound word.
    """
    word = word.strip()
    if is_compound_word(word):
        # By Setting the setMinHyphenatedWordLength to word_length,
        # voikko returns the words that are in the compound word
        voikko.setMinHyphenatedWordLength(len(word))
        syllables = voikko.METHOD_NAME(word)
        return syllables.split("-")
    else:
        return [word]