def get_edu_text(text_subtree):
    """return the text of the given EDU subtree"""
    assert text_subtree.label() == SubtreeType.text
    return u' '.join(word.decode('utf-8') for word in text_subtree.leaves())