code: private double[] loadTextVector(String word) throws IOException {
          Long lineNumber = termToOffset.get(word);
          if (lineNumber == null)
              return null;
          
          // skip to the line where the word's vector is found
          textSSpace.moveToLine(lineNumber.intValue());
          String line = textSSpace.readLine();
          
          double[] row = new double[dimensions];
          String[] termVectorPair = line.split("\\|");
          String[] values = termVectorPair[1].split("\\s");
          
          if (values.length != dimensions) {
              throw new IOError(new Throwable(
                          "improperly formated semantic space file"));
          }
          for (int c = 0; c < dimensions; ++c) {
              double d = Double.parseDouble(values[c]);
              row[c] = d;
          }
          return row;
      }
docs: Loads a vector from the backing semantic space file in {@code TEXT}
  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