Flatten a nested dictionary into a flat dictionary.
Hash a string using sha1.
Import the pandas python package and raise an error if it is not installed.
Import the spacy 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.
Load json file to a string.
Import the clearml python package and raise an error if it is not installed.