it.unipi.di.acube.batframework.problems.MentionSpotter Maven / Gradle / Ivy
package it.unipi.di.acube.batframework.problems;
import it.unipi.di.acube.batframework.data.Mention;
import java.util.HashSet;
/**
* A Mention spotter is a system that, given a text, returns the mentions
* spotted in the text. Implementing this interface, one can test the accuracy
* of the system ability to spot mentions (i.e. its parser). Class
* {@link it.unipi.di.acube.batframework.utils.RunExperiments} contains methods for
* such a test.
*
*/
public interface MentionSpotter extends TopicSystem {
/**
* @param text the text to process.
* @return a set of mentions spotted in the text.
*/
public HashSet getSpottedMentions(String text);
}