What steps will reproduce the problem?
1. run LatentSemanticAnalysis.java with a parameter
props.put(LatentSemanticAnalysis.RETAIN_DOCUMENT_SPACE_PROPERTY, "true");
2.
3.
What is the expected output? What do you see instead?
Document space should be retained after processSpace().
Instead, the following exception is thrown:
java.lang.IllegalArgumentException:
edu.ucla.sspace.lsa.LatentSemanticAnalysis.dimensions is not an integer: true
at edu.ucla.sspace.lsa.LatentSemanticAnalysis.processSpace(LatentSemanticAnalysis.java:503)
What version of the product are you using? On what operating system?
OS: Windows 7
Version: building from code, using revision 1107
Please provide any additional information below.
At LatentSemanticAnalysis.java, line 214 RETAIN_DOCUMENT_SPACE_PROPERTY is
assigned:
public static final String RETAIN_DOCUMENT_SPACE_PROPERTY =
PROPERTY_PREFIX + ".dimensions";
where ".dimensions" is the property suffix for LSA_DIMENSIONS_PROPERTY.
Original issue reported on code.google.com by an.velin...@gmail.com on 24 Oct 2010 at 11:29
Original issue reported on code.google.com by
an.velin...@gmail.com
on 24 Oct 2010 at 11:29