mirror of https://github.com/CIRCL/AIL-framework
fix; [set tracker] missing function
parent
c0b233030e
commit
8908b2189e
|
@ -106,9 +106,9 @@ def get_text_word_frequency(item_content, filtering=True):
|
||||||
# # TODO: create all tracked words
|
# # TODO: create all tracked words
|
||||||
def get_tracked_words_list():
|
def get_tracked_words_list():
|
||||||
return list(r_serv_term.smembers('all:tracker:word'))
|
return list(r_serv_term.smembers('all:tracker:word'))
|
||||||
|
|
||||||
def get_typosquat_tracked_words_list():
|
def get_set_tracked_words_list():
|
||||||
set_list = r_serv_term.smembers('all:tracker:typosquatting')
|
set_list = r_serv_term.smembers('all:tracker:set')
|
||||||
all_set_list = []
|
all_set_list = []
|
||||||
for elem in set_list:
|
for elem in set_list:
|
||||||
res = elem.split(';')
|
res = elem.split(';')
|
||||||
|
|
Loading…
Reference in New Issue