public INDArray getWordVectorMatrixNormalized(String word) {
        INDArray r = getWordVectorMatrix(word);
        if (r == null)
            return null;

        return r.div(Nd4j.getBlasWrapper().nrm2(r));
    }
public INDArray getWordVectorMatrixNormalized ( String word ) { INDArray r = getWordVectorMatrix ( word ) ; if ( r == null ) return null ; return r . div ( Nd4j . getBlasWrapper ( ) . nrm2 ( r ) ) ; }
Returns the word vector divided by the norm2 of the array
@param word the word to get the matrix for
@return the looked up matrix