def stopword_ratio(text):
    """
    :type text: Text
    :param text: The text to be analysed
    :rtype Dict
    :returns Returns the ratio of stopwords in the text
    """
    return (len(text.tokens_alphabetic) - len(text.tokens_without_stopwords)
        ) / len(text.tokens_alphabetic)
