Update GAT.py
This commit is contained in:
@@ -632,7 +632,7 @@ def check_and_write_file(input_file, output_file, keywords):
|
||||
print(f"未提取到关键词,不创建输出文件 {output_file}。")
|
||||
|
||||
# 按类别提取关键词并写入文件
|
||||
#check_and_write_file('2.txt', 'a0.txt', keywords="央视频道, CCTV")
|
||||
check_and_write_file('2.txt','a0.txt',keywords="央视频道,CCTV")
|
||||
check_and_write_file('2.txt','a.txt',keywords="央视频道,湖北,湖南")
|
||||
#check_and_write_file('2.txt','a1.txt',keywords="央视频道,动作电影,高清电影,家庭影院,影迷电影")
|
||||
|
||||
@@ -650,8 +650,6 @@ Eurosports1, FESTIVAL, GOOD2, HBO家庭, HBO, HISTORY, HOY国际财经, HakkaTV,
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
###############################################################################################################################################################################################################################
|
||||
##############################################################对生成的文件进行合并
|
||||
file_contents = []
|
||||
|
||||
Reference in New Issue
Block a user