import re


def capitalization_density(text):
    """Returns the word-starting capitalized character density of the given
    text.

    Arguments:
        text (str): The input text.

    Returns:
        (float): The density of capitalized words in the text.
    """
    if len(text) == 0:
        return 0

    words = re.sub(r'\W', ' ', text).split()
    caps = float(sum([1 for x in words if re.match('[A-Z]', x)]))

    return (caps / len(words)) if len(words) > 0 else 0.0