add self.corpus initialization to FeaturesBuilder