001/**
002 * 
003 */
004package org.dllearner.algorithms.isle;
005
006import java.util.Map;
007import java.util.Set;
008
009import org.semanticweb.owlapi.model.EntityType;
010import org.semanticweb.owlapi.model.OWLEntity;
011
012/**
013 * @author Lorenz Buehmann
014 *
015 */
016public interface EntityExtraction {
017        
018        /**
019         * Extracts all entities contained in the working text with some confidence value.
020         * @return
021         */
022        Map<OWLEntity, Set<String>> extractEntities();
023        
024        /**
025         * Extracts all entities of the given <code>type</code> contained in the working text with some confidence value.
026         * @return
027         */
028        Map<OWLEntity, Double> extractEntities(EntityType<OWLEntity> type);
029
030}