termite-data-server icon indicating copy to clipboard operation
termite-data-server copied to clipboard

Error occurs when I run demo.py infovis gensim

Open SeanWhipple opened this issue 9 years ago • 2 comments

I ran the command specified in the subject and I get the following error:

IOError: [Errno 2] No such file or directory: 'apps/temp_20150404_191841_724859_8621/data/sentences.txt'

I'm trying to figure out how to import a gensim LDA model into the data server for visualization. Could you expand on the proper method of doing this? I have a fitted LDA gensim model pickeled off, just need to get it into the server

SeanWhipple avatar Apr 04 '15 23:04 SeanWhipple

Sounds like the included JAR files weren't executed. Termite relies on SentenceSplitter.jar to separate each document into individual sentences. Try running make in folder utils/corenlp and recompiling the JARs. Rerun the demo and see if it fixes the issue.

jcchuang avatar Apr 10 '15 15:04 jcchuang

make didn't work on its own for me, but running

make clean all

in utils/corenlp did the trick.

ianmilligan1 avatar Jul 14 '15 17:07 ianmilligan1