def uppercase_frequency(text):
    """
   :type text: Text
   :param text: The text to be analysed
   :rtype float
   :returns Frequency of UpperCase Letter over document length
   """
    return sum(1 for c in text.text if c.isupper()) / len(text.tokens)
