I am trying to load a folder (containing about 1000 .txt files) on my Jupyter notebook (Python 3) from the desktop of my WINDOWS computer; so that I can proceed with my analyses relating to NLP. I am using SPaCY instead of NLTK as advised by one of the Udemy course instructors.
I am a novice in the field and had been trying to read textbooks and udemy online courses but those did not help much.
Following one of the NLP courses from Udemy, I tried to load the folder "text folder sample" as follows (it did not work):
gen = os.walk('../text folder sample')
next(gen)
I am seeking your help with lines of codes which will enable my python script to load and proceed with analyzing the files. **Each .txt file is an autobiography, so I am trying to treat each of them as an independent case so that at later stages I can infer which autobiographies are similar (e.g. cluster analyses).