code: public static RePairGrammar buildGrammar(SAXRecords saxRecords) {
  
      RePairGrammar grammar = NewRepair.parse(saxRecords.getSAXString(SPACE));
  
      return grammar;
  
    }
docs: Builds a repair grammar given a set of SAX records.
  
  @param saxRecords the records to process.
  
  @return the grammar.