def METHOD_NAME(data: ItemData, parent: Folder) -> Phrase:
    """Create a Phrase from data. Place it into the parent folder."""
    logger.debug("Creating Phrase: name={}".format(data.name))
    item = Phrase(data.name, data.content)
    if data.hotkey:
        item.set_hotkey(*data.hotkey)
    for abbreviation in data.abbreviations:
        item.add_abbreviation(abbreviation)
    item.set_modes(data.trigger_modes)
    if data.window_filter:
        item.set_window_titles(data.window_filter)
    item.show_in_tray_menu = data.show_in_tray_menu
    parent.add_item(item)
    item.persist()
    return item