def METHOD_NAME(self, doc):
    found = {}
    for phrase in self.phrases:
        if phrase in doc:
            if phrase in found:
                found[phrase] += 1
            else:
                found[phrase] = 1
    return found