removes the document builder from the KBCorpus