dict1 = {"data": {"0": "2020-01-22"},
"title": "quantum computing software",
"title2": "quantum um computing software quantum computing software",
"title3": "quantum computing sg software quantum computing software",
"title4": "quantum computing softing software quantum computing software",
"title5": "quantum computing software quantum computing software quanltum computing software",
"title6": "quantum are quantum computing software quantum computing software",
"title7": "quantum computing software quantum computing software quantum computing software",
"title8": "quantum computing softtware quantum computing software",
"title9": "quantum computing software quantum software quantum computing software",
"title10": "quantum computing sare quantum computing software",
"title11": "quantum compue quantum computing software",
"title12": "quantum computing so software quantum computing software",
"title13": "quantum computing software quantum computing software quanhftum computing software",
"title14": "quantum computing software quantum computing software software quantum computing software",
"title15": "quantum computing e quantum computing software",
"title16": "quantum computing software quantum computing software quantum computing software",
"title17": "quantum computing software quauantum computing software",
"title18": "quantum comput computing software",
"title19": "software quantum computing software software quantum computing software",
"title20": "quantum software"
}
a = 'quantum computing software'
d = {} # словарь {title текста: количество слов из строки a}
# считаем слова из строки a в каждом тексте
for k, v in dict1.items():
if 'title' in k:
x = 0
for i in a.split():
x += dict1[k].count(i)
d[k] = x
# выводим текст в котором больше слов из строки a
print(dict1[max(d.keys(), key=lambda x: d[x])])