def findTitles( data ):
    """Returns a set of all honourifics present in the data set"""

    titles = set([])

    for name in data["Name"]:
        for word in name.split():
            if ("." in word):
                titles.add(word)

    return titles