inpho / vsm

Vector Space Model Framework developed for InPhO
http://inpho.github.io/vsm
Other
35 stars 14 forks source link

Document dir hard coded in htrc.py #74

Closed huangmimi closed 6 years ago

huangmimi commented 10 years ago

In running [12] of the ipython notebook https://github.com/inpho/vsm-demo-notebooks an error message prompted saying python can't find this file, " /var/inphosemantics/data/20130101/htrc-anthropomorphism-1315/htrc-1315-metadata.json "

The reason is because the path of this file is hard coded in htrc.py (vsm/vsm/extensions/htrc.py), and this can be enhanced in some way to avoid this above-mentioned error.

rrose1 commented 9 years ago

Jaimie, didn't you fix up this hack?

JaimieMurdock commented 9 years ago

This issue is fixed in the topic-explorer's htrc modules. The code referenced in the extensions of vsm should avoid this hard-coding of a particular example.