Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar. Traceback (most recent call last): File "./src/tgnews.py", line 111, in main() File "./src/tgnews.py", line 90, in main articles = get_articles(source_dir) File "./src/tgnews.py", line 68, in get_articles with open(source_dir + '/' + html_doc, encoding='utf-8') as f: IsADirectoryError: [Errno 21] Is a directory: '../../sampledata//20200527'