def premise_text(quantifier, first, second):
    """ Constructs the textual representation of a syllogistic premise from
    a quantifier and two objects.

    Parameters
    ----------
    quantifier : str
        Syllogistic quantifier identifier (e.g., 'A').

    first : str
        First object.

    second : str
        Second object.

    Returns
    -------
    str
        Syllogistic premise text representation (e.g., 'All A are B').

    """
    text = ''
    if quantifier == 'A':
        text = 'All {} are {}'
    elif quantifier == 'I':
        text = 'Some {} are {}'
    elif quantifier == 'E':
        text = 'No {} are {}'
    elif quantifier == 'O':
        text = 'Some {} are not {}'
    else:
        raise ValueError('Invalid premise quantifier')
    return text.format(first, second)
