LOGGER.fine("saving sparse-binary S-Space with " + words.size() +
" words with " + dimensions + "-dimensional vectors");
for (String word : words) {
dos.writeUTF(word);
Vector vector = sspace.getVector(word);
if (vector instanceof SparseVector) {
if (vector instanceof DoubleVector) {
SparseDoubleVector sdv = (SparseDoubleVector)vector;
int[] nz = sdv.getNonZeroIndices();