def prior_wording(frequency_short):
    """Create the comparison wording for the prior period based
    off the frequency_short"""
    prior_wording = ''
    if frequency_short == 'A':
        prior_wording = 'Last yr'
    elif frequency_short == 'SA':
        prior_wording = '6 months ago'
    elif frequency_short == 'Q':
        prior_wording = 'Last quarter'
    elif frequency_short == 'M':
        prior_wording = 'Last month'
    elif frequency_short == 'BW':
        prior_wording = '2 wks ago'
    elif frequency_short == 'W':
        prior_wording = 'Last week'
    elif frequency_short == 'D':
        prior_wording = 'Previous day'
    return prior_wording
