001/** 002 * 003 */ 004package org.dllearner.algorithms.isle.index; 005 006import java.util.Set; 007 008/** 009 * Interface for generating (non-semantic) annotations for documents. 010 * @author Lorenz Buehmann 011 */ 012public interface LinguisticAnnotator { 013 /** 014 * Returns the set of annotation for the given document. 015 * @param document the document to get annotation for 016 * @return set of annotations for the given document 017 */ 018 Set<Annotation> annotate(TextDocument document); 019 020}