wiki:api/example

Version 1 (modified by horak, 17 years ago) (diff)

--

This page describes a sample initialization of iDocument:

InformationExtractionAPI idoc = new InformationExtractionImpl();
idoc.initialize("http://localhost:8080/openrdf-sesame/repositories/idoc2008");
File file = new File("document.pdf");
String session = idoc.createExtractionSession(file);
idoc.executeExtractionSession(session);