Antimalweb / URLNet

Code for the paper URLNet - Learning a URL Representation with Deep Learning for Malicious URL Detection
Apache License 2.0
152 stars 60 forks source link

utils.py get_words function #11

Closed theodorehu95 closed 5 years ago

theodorehu95 commented 5 years ago

utils.py line 120

When extracting the words, why the loop needs to break if the word_id is Unknown? Should it be "continue" instead to skip unknown words?