code: private double[] loadSparseBinaryVector(String word) throws IOException {
          Long byteOffset = termToOffset.get(word);
          if (byteOffset == null)
              return null;
  
          binarySSpace.seek(byteOffset);
                  
          int nonZero = binarySSpace.readInt();
          double[] vector = new double[dimensions];
          for (int i = 0; i < nonZero; ++i) {
              int col = binarySSpace.readInt();
              double val = binarySSpace.readDouble();
              vector[col] = val;
          }
  
          return vector;
      }
docs: Loads a vector from the backing semantic space file in {@code
  SPARSE_BINARY} format using the predetermined offet for the word.
  
  @param word a word in the semantic space
  @return the vector for the word or {@code null} if the word does not
  exist in the semantic space