def pluralize(number, word):
    """Pluralize the word based on the number."""
    if number:
        phrase = '%s %s' % (number, word)
        if number != 1:
            phrase += 's'
        return phrase
    return ''