Open gpassero opened 7 years ago
I had problems running mvn package, because of problems in docstrings (Java 8 has doclint enabled by default). I disabled doclint then mvn package worked, but didn't created random-indexing.jar. I see pom.xml doesn't have have random-indexing.jar creation setting, only build.xml, which is not mentioned in pom.xml. I tried to ran ant in the root repo dir, but it complains there is not lib folder.
I could create the models with this command line:
java -server -Xmx6g -cp sspace-2.0.4-jar-with-dependencies.jar edu.ucla.sspace.mains.RandomIndexingMain --docFile=wikipedia_lemma_lc_nosw.txt --tokenFilter=include=dict-mf100-lemma.txt -o sparse_text --verbose --threads 3 C:/ri
sspace-2.0.4-jar-with-dependencies.jar was created with mvn compile; mvn package -Dmaven.test.skip=true, also skipping test errors and disabling doclint (enabled by default in newer version of Java).
I suggest the jar packages are distributed along with the source codes, so people won't have these issues (test problems, doclint errors).
Hi Guilherme,
Thanks for spotting this! Yes, the documentation is a bit out of date. We hadn't distributed the jar packages since people need to compile for different versions of Java. I will see if I can clean up the javadoc or just disable the doclint in the maven build to make people's lives easier. :)
Thanks, David
On Sat, Apr 8, 2017 at 6:52 AM, Guilherme Passero notifications@github.com wrote:
I could create the models with this command line:
java -server -Xmx6g -cp sspace-2.0.4-jar-with-dependencies.jar edu.ucla.sspace.mains.RandomIndexingMain --docFile=wikipedia_lemma_lc_nosw.txt --tokenFilter=include=dict-mf100-lemma.txt -o sparse_text --verbose --threads 3 C:/ri
sspace-2.0.4-jar-with-dependencies.jar was created with mvn compile; mvn package -Dmaven.test.skip=true, also skipping test errors and disabling doclint (enabled by default in newer version of Java).
I suggest the jar packages are distributed along with the source codes, so people won't have these issues (test problems, doclint errors).
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fozziethebeat/S-Space/issues/78#issuecomment-292719488, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7uLVDGazCDaZGuIGyEpxJG1OJG3O3Hks5rt5EqgaJpZM4M0QHN .
This page in Wiki says random-indexing.jar is in downloads, but I can't find it. I also tried to clone the repo and run maven compile and maven package, but got the following errors on test: