thestrox / Aspect-Based-Sentiment-Analysis

A python program that implements Aspect Based Sentiment Analysis classification system for SemEval 2016 Dataset.
64 stars 40 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'tagged_text_list_train.pkl' #2

Closed Thilaga1407 closed 5 years ago

Thilaga1407 commented 5 years ago

Hello,

when i run the following code in Aspect Based Sentiment Analysis.ipynb error

i get this error:

Traceback (most recent call last):

File "", line 1, in tagged_text_list_train=joblib.load('tagged_text_list_train.pkl')

File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\externals\joblib\numpy_pickle.py", line 570, in load with open(filename, 'rb') as f:

FileNotFoundError: [Errno 2] No such file or directory: 'tagged_text_list_train.pkl'

Any help please Thanks

thestrox commented 5 years ago

tagged_text_list_train.pkl file is missing. Do you have this file in the same folder as Aspect Based Sentiment Analysis.ipynb?

Thilaga1407 commented 5 years ago

Yes sir, but instead of running the line i had run the comment line which take time to run

Can I get another help?

How did you store training and testing data in xml format? Whether do you used your dataset? How do you represent sentiment and aspect categories in your xml file?

thestrox commented 5 years ago

I am closing this issue as you opened another issue for your other questions.