code: private int loadBinaryOffsets(RandomAccessFile binarySSpace) 
              throws IOException {
  
          // Reader off the 4-byte header if it exists
          if (containsHeader)
              binarySSpace.readInt();
      
          int rows = binarySSpace.readInt();
          int cols = binarySSpace.readInt();
  
          for (int row = 0; row < rows; ++row) {
              String word = binarySSpace.readUTF();
              termToOffset.put(word, binarySSpace.getFilePointer());
              // read and discard the rest of the vector
              for (int col = 0; col < cols; ++col) {
                  binarySSpace.readDouble();
              }
          }
          return cols;
      }
docs: Loads the {@link SemanticSpace} from the binary formatted file, adding
  its words to {@link #termToOffset} and returning the {@code Matrix}
  containing the space's vectors.
  
  @param sspaceFile a file in {@link SSpaceFormat#BINARY binary} format