de.datexis.index.WordIndex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of texoo-entity-linking Show documentation
Show all versions of texoo-entity-linking Show documentation
TeXoo module for Entity Linking
The newest version!
package de.datexis.index;
import java.util.*;
/**
* A simple Fulltext Index.
*/
public interface WordIndex {
/**
* Retrieve candidates for a Proximity query on the "text" field.
*/
public List queryText(String text, int hits);
/**
* Retrieve candidates for an exact query on the "text" field.
*/
public List queryExactText(String text, int hits);
/**
* Retrieve candidates for auto completion on the "text" field.
*/
public List queryPrefixText(String prefix, int hits);
}