public Properties setupProperties() {
        // use the System properties in case the user specified them as
        // -Dprop=<val> to the JVM directly.
        Properties props = System.getProperties();

        if (argOptions.hasOption("dimensions")) {
            props.setProperty(LatentRelationalAnalysis.LRA_DIMENSIONS_PROPERTY,
                              argOptions.getStringOption("dimensions"));
        }

        if (argOptions.hasOption("indexDir")) {
            props.setProperty(LatentRelationalAnalysis.LRA_INDEX_DIR,
                              argOptions.getStringOption("indexDir"));
        }

        if (argOptions.hasOption("skipIndex")) {
            props.setProperty(LatentRelationalAnalysis.LRA_SKIP_INDEX,
                              "true");
        }

        if (argOptions.hasOption("readMatrixFile")) {
            props.setProperty(LatentRelationalAnalysis.LRA_READ_MATRIX_FILE,
                              argOptions.getStringOption("readMatrixFile"));
        }

        if (argOptions.hasOption("writeMatrixFile")) {
            props.setProperty(LatentRelationalAnalysis.LRA_WRITE_MATRIX_FILE,
                              argOptions.getStringOption("writeMatrixFile"));
        }

        return props;
    }
public Properties setupProperties ( ) { Properties props = System . getProperties ( ) ; if ( argOptions . hasOption ( "dimensions" ) ) { props . setProperty ( LatentRelationalAnalysis . LRA_DIMENSIONS_PROPERTY , argOptions . getStringOption ( "dimensions" ) ) ; } if ( argOptions . hasOption ( "indexDir" ) ) { props . setProperty ( LatentRelationalAnalysis . LRA_INDEX_DIR , argOptions . getStringOption ( "indexDir" ) ) ; } if ( argOptions . hasOption ( "skipIndex" ) ) { props . setProperty ( LatentRelationalAnalysis . LRA_SKIP_INDEX , "true" ) ; } if ( argOptions . hasOption ( "readMatrixFile" ) ) { props . setProperty ( LatentRelationalAnalysis . LRA_READ_MATRIX_FILE , argOptions . getStringOption ( "readMatrixFile" ) ) ; } if ( argOptions . hasOption ( "writeMatrixFile" ) ) { props . setProperty ( LatentRelationalAnalysis . LRA_WRITE_MATRIX_FILE , argOptions . getStringOption ( "writeMatrixFile" ) ) ; } return props ; }
Returns the {@code Properties} object that will be used when calling
{@link SemanticSpace#processSpace(Properties)}.  Subclasses should
override this method if they need to specify additional properties for
the space.

@return the {@code Properties} used for processing the semantic space.