-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class not find #66
Comments
Hi, you can go to the "target " folder and rerun "java -cp classes edu.ucla.sspace.mains.LSAMain" |
same problem as that of hbthein but the target file is not created !! |
Did you run "mvn compile" or "mvn package" first to get all the code Thanks, On Thu, Apr 14, 2016 at 11:28 PM, niveditakatakam [email protected]
|
hey David, where to give that command ?? and is it necessary to create any environment variable thank you |
You need to run that from the command line in the directory where you You might also be able import the maven pom.xml into an environment like On Thu, Apr 14, 2016 at 11:49 PM, niveditakatakam [email protected]
|
Hi all,
I tried to test the LSA class. From the instruction of Getting Started wiki page, I run the command from the S-Space directory:
user@machine$ java -cp classes edu.ucla.sspace.mains.LSAMain
But I received an error:
Error: Could not find or load main class edu.ucla.sspace.mains.LSAMain
In addition, when I run the LSAMain.java, I got this:
Saving matrix using edu.ucla.sspace.matrix.SvdlibcSparseBinaryMatrixBuilder@12edcd21
Exception in thread "WorkerThread-1" java.util.NoSuchElementException
at edu.ucla.sspace.util.CombinedIterator.next(CombinedIterator.java:119)
at edu.ucla.sspace.mains.GenericMain$1.run(GenericMain.java:582)
at edu.ucla.sspace.util.WorkQueue$CountingRunnable.run(WorkQueue.java:361)
at edu.ucla.sspace.util.WorkerThread.run(WorkerThread.java:110)
Saw 16 terms, 15 unique
Saw 17 terms, 16 unique
Saw 15 terms, 15 unique
edu.ucla.sspace.lsa.LatentSemanticAnalysis@33918ac4 processing doc edu.ucla.sspace.util.SparseIntHashArray@20abfa41
edu.ucla.sspace.lsa.LatentSemanticAnalysis@33918ac4 processing doc edu.ucla.sspace.util.SparseIntHashArray@48b45e8f
edu.ucla.sspace.lsa.LatentSemanticAnalysis@33918ac4 processing doc edu.ucla.sspace.util.SparseIntHashArray@3d5662c6
May 11, 2015 1:52:29 PM edu.ucla.sspace.common.GenericTermDocumentVectorSpace processSpace
INFO: performing log-entropy transform
May 11, 2015 1:52:29 PM edu.ucla.sspace.matrix.LogEntropyTransform$LogEntropyGlobalTransform
INFO: Computing the total row counts
May 11, 2015 1:52:29 PM edu.ucla.sspace.matrix.LogEntropyTransform$LogEntropyGlobalTransform
INFO: Computing the entropy of each row
May 11, 2015 1:52:29 PM edu.ucla.sspace.matrix.LogEntropyTransform$LogEntropyGlobalTransform
INFO: Scaling the entropy of the rows
May 11, 2015 1:52:29 PM edu.ucla.sspace.lsa.LatentSemanticAnalysis processSpace
INFO: reducing to 2 dimensions
output File: my-lsa-output.sspace
Even it produces an output file, it has an error
Exception in thread "WorkerThread-1" java.util.NoSuchElementException
Could you please tell me how to fix this error?
Thank you.
The text was updated successfully, but these errors were encountered: