import re


def get_emails(text):
    """Parses email addresses from text.

    Args:
        text: input text string.

    Returns:
        Set of parsed email addresses.
    """

    parsed_emails = set()
    for line in text.split():
        match = re.findall(r'[\w\.\-]+@[\w\.-]+', line)
        for address in match:
            parsed_emails.add(address)
    return parsed_emails