mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
ease/document extra dependency
This commit is contained in:
2
capa/analysis/requirements.txt
Normal file
2
capa/analysis/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# temporary extra file to track dependencies of the analysis directory
|
||||
nltk==3.9.1
|
||||
@@ -133,6 +133,7 @@ def prune_databases(dbs: list[LibraryStringDatabase], n=8):
|
||||
|
||||
try:
|
||||
from nltk.corpus import words as nltk_words
|
||||
nltk_words.words()
|
||||
except ImportError:
|
||||
# one-time download of dataset.
|
||||
# this probably doesn't work well for embedded use.
|
||||
|
||||
Reference in New Issue
Block a user