Import the spacy python package and raise an error if it is not installed.
Import the pandas python package and raise an error if it is not installed.
Import the textstat python package and raise an error if it is not installed.
Flatten a nested dictionary into a flat dictionary.
Hash a string using sha1.
Load json file to a string.