williamleif / socialsent

Code and data for inducing domain-specific sentiment lexicons.
Apache License 2.0
195 stars 75 forks source link

An issue in embedding process #20

Open Lapwai opened 5 years ago

Lapwai commented 5 years ago

Hi there,

I just find out an issue when I run embedding. The detailed description is in below.

File "example.py", line 13, in set(lexicon.keys()).union(pos_seeds).union(neg_seeds)) File "/anaconda3/lib/python3.6/site-packages/socialsent-0.1.2-py3.6.egg/socialsent/representations/representation_factory.py", line 10, in create_representation return GigaEmbedding(path, *args, **kwargs) File "/anaconda3/lib/python3.6/site-packages/socialsent-0.1.2-py3.6.egg/socialsent/representations/embedding.py", line 120, in init for line in lines(path): File "/anaconda3/lib/python3.6/site-packages/socialsent-0.1.2-py3.6.egg/socialsent/util.py", line 50, in lines with open(fname) as f: FileNotFoundError: [Errno 2] No such file or directory: 'data/example_embeddings/glove.6B.100d.txt'

Kind regards