rubenIzquierdo / opinion_miner_deluxePP

Opinion miner (opinion expressions, targets and holders) based on machine learning
GNU General Public License v2.0
9 stars 4 forks source link

error on calling tag_file.py #2

Closed vanatteveldt closed 8 years ago

vanatteveldt commented 8 years ago
$ ~/newsreader_pipe_nl/newsreader-env/bin/python tag_file.py -f ../../tools/opinion_miner_models/models/models_news_nl/ -polarity < /tmp/test.naf 
Traceback (most recent call last):
  File "tag_file.py", line 175, in <module>
    feature_file = expression_feature_extractor(kaf_naf_obj,'tag', model_folder, log=args.log)
  File "/data/wva/newsreader_pipe_nl/modules/opinion_miner_deluxePP/extract_features_expression.py", line 489, in main
    from mpqa_lexicon import MPQA_subjectivity_lexicon
ImportError: No module named mpqa_lexicon

Did I forget to install something?

rubenIzquierdo commented 8 years ago

This is not necessary neither use for other languages than English, but I included the module now anyway to avoid the exception

vanatteveldt commented 8 years ago

it works, thanks!