code: def load(self):
          
          javabridge.call(self.jobject, "reset", "()V")
          return Instances(javabridge.call(self.jobject, "getDataSet", "()Lweka/core/Instances;"))
docs: Loads the text files from the specified directory and returns the Instances object.
          In case of incremental loading, only the structure.
  
          :return: the full dataset or the header (if incremental)
          :rtype: Instances