Transform transform = new LogEntropyTransform();
if (argOptions.hasOption("preprocess"))
transform = ReflectionUtil.getObjectInstance(
argOptions.getStringOption("preprocess"));
String algName = argOptions.getStringOption("svdAlgorithm", "ANY");
SingularValueDecomposition factorization = SVD.getFactorization(
Algorithm.valueOf(algName.toUpperCase()));
basis = new StringBasisMapping();
return new LatentSemanticAnalysis(
false, dimensions, transform, factorization, false, basis);