Commit b0e50e04 authored by litaolemo's avatar litaolemo

update

parent 27f2a796
......@@ -142,7 +142,7 @@ answer_dict = {}
for answer_json in answer_res_scan:
answer_list.append(answer_json["_source"])
_id = answer_json["_id"]
fresh_answer_tag_list = set(answer_json["_source"]["fresh_tractate_tag_name"] + answer_json["_source"]["tags_v3"])
fresh_answer_tag_list = set(answer_json["_source"]["tag_name"] + answer_json["_source"]["tags_v3"])
for content_keyword in fresh_answer_tag_list:
if content_keyword in answer_dict:
answer_dict[content_keyword] += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment