Java API for Document Extraction and Modeling