All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.datexis.reader.DatasetReader Maven / Gradle / Ivy

package de.datexis.reader;

import de.datexis.common.Resource;
import de.datexis.model.Dataset;
import de.datexis.model.Document;
import java.io.IOException;
import java.util.stream.Stream;

/**
 * Reads a Dataset from standard format into a TeXoo Dataset.
 * @author Sebastian Arnold 
 */
public interface DatasetReader {
  
  public Dataset read(Resource path) throws IOException;
  // TODO: implement for next version
  //public Dataset readDatasetFromDirectory(Resource path, String pattern) throws IOException;
  //public Document readDocumentFromFile(Resource file) throws IOException;
  //public Stream stream(Resource path);
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy