code: protected void saveSSpace(SemanticSpace sspace, File outputFile)
              throws IOException{
          BasisMapping<String, String> savedTerms = new StringBasisMapping();
          for (String term : sspace.getWords())
              savedTerms.getDimension(term);
  
          ObjectOutputStream ouStream = new ObjectOutputStream(
                  new FileOutputStream(outputFile));
          ouStream.writeObject(savedTerms);
          ouStream.close();
      }
docs: Saves the {@link BasisMapping} created from the {@link
  OccurrenceCounter}.