protected Properties setupProperties() {
        props = System.getProperties();
        // Use the command line options to set the desired properites in the
        // constructor.  Use the system properties in case these properties were
        // set using -Dprop=<value> 
        if (argOptions.hasOption("vectorLength")) {
            props.setProperty(ReflectiveRandomIndexing.VECTOR_LENGTH_PROPERTY,
                              argOptions.getStringOption("vectorLength"));
        }

        if (argOptions.hasOption("useSparseSemantics")) {
            props.setProperty(ReflectiveRandomIndexing.USE_SPARSE_SEMANTICS_PROPERTY,
                              argOptions.getStringOption("useSparseSemantics"));
        }

        return props;
    }
protected Properties setupProperties ( ) { props = System . getProperties ( ) ; if ( argOptions . hasOption ( "vectorLength" ) ) { props . setProperty ( ReflectiveRandomIndexing . VECTOR_LENGTH_PROPERTY , argOptions . getStringOption ( "vectorLength" ) ) ; } if ( argOptions . hasOption ( "useSparseSemantics" ) ) { props . setProperty ( ReflectiveRandomIndexing . USE_SPARSE_SEMANTICS_PROPERTY , argOptions . getStringOption ( "useSparseSemantics" ) ) ; } return props ; }
{@inheritDoc}