code: private Map<String,SemanticVector> loadSparseText(File sspaceFile) 
          throws IOException {
  
          LOGGER.info("loading sparse text TSS from " + sspaceFile);
  
          BufferedReader br = new BufferedReader(new FileReader(sspaceFile));
          String[] header = br.readLine().split("\\s+");
          int words = Integer.parseInt(header[0]);
          dimensions = Integer.parseInt(header[1]);
          
          Map<String,SemanticVector> wordToSemantics = 
              new HashMap<String,SemanticVector>(words, 2f);
              
          for (int wordIndex = 0; wordIndex < words; ++wordIndex) {
              String[] wordAndSemantics = br.readLine().split("\\|");
              String word = wordAndSemantics[0];
              SemanticVector semantics = new SemanticVector(dimensions);
              wordToSemantics.put(word, semantics);
  
              LOGGER.info("loading " + wordAndSemantics.length + 
                  " timesteps for word " + word); 
  
              // read in each of the timesteps
              for (int tsIndx = 1; tsIndx < wordAndSemantics.length; ++tsIndx) {
                  String[] tsAndVec = wordAndSemantics[tsIndx].split("%");
                  String[] tsAndNonZero = tsAndVec[0].split(" ");
                  long timeStep = Long.parseLong(tsAndNonZero[0]);
                  updateTimeRange(timeStep);
                  int nonZero = Integer.parseInt(tsAndNonZero[1]);
                  String[] vecElements = tsAndVec[1].split(",");
                  
                  Map<Integer,Double> sparseArr = new IntegerMap<Double>();
                  // elements are ordered as pairs of index,value,index,value,...
                  for (int i = 0; i < vecElements.length; i += 2) {
                      Integer index = Integer.valueOf(vecElements[i]);
                      Double value = Double.valueOf(vecElements[i+1]);
                  }
                  semantics.setSemantics(timeStep, sparseArr);
              }
          }
  
          return wordToSemantics;
      }
docs: Loads the {@link TemporalSemanticSpace} from the sparse text formatted
  file.
  
  @param sspaceFile a file in {@link TSSpaceFormat#SPARSE_TEXT sparse text}
  format