Running example

8 views
Skip to first unread message

Robert Hinh

unread,
Jun 29, 2016, 7:22:59 PM6/29/16
to s-spac...@googlegroups.com
Hello, 

Please forgive me if this sounds like a trivial problem but how would one run an algorithm? I'm learning more about this system and I just want to run a simple example sentence to see how it works. The tutorial shows how to install the program well but it's unclear about how to run an algorithm (https://github.com/fozziethebeat/S-Space/wiki/GettingStarted).

I was able to install just like the wiki shows but when I get down to the "selecting the algorithm" section, I tried running the code below but it's not working for me. 

java -cp classes edu.ucla.sspace.mains.LSAMain -S SVDLIBC --docFile=/home/robert/sentences

/home/robert/sentences is a file where each line is a sentence that I would like to see it parsed. But the error says that it can not find the file but I can see it with this: 

ls /home/robert

Not sure if this is a problem with my system (Ubuntu 16.04) but has anyone else run into this problem? I'm a complete beginner to Java and I'm open to suggestions. Thank you. 

--
-Robert
 
Reply all
Reply to author
Forward
0 new messages