private void saveTermBuffer(){
  buffer.setLength(0);
  buffer.append(termAttribute.buffer(),0,termAttribute.length());
  buffer.append(SEPARATOR);
  lastStartOffset=offsetAttribute.startOffset();
  lastWasCommon=isCommon();
}

private void saveTermBuffer ( ) { buffer . setLength ( 0 ) ; buffer . append ( termAttribute . buffer ( ) , 0 , termAttribute . length ( ) ) ; buffer . append ( SEPARATOR ) ; lastStartOffset = offsetAttribute . startOffset ( ) ; lastWasCommon = isCommon ( ) ; }
saves this information to form the left part of a gram
