Class WikipediaEntity


  • public class WikipediaEntity
    extends Object
    • Constructor Detail

      • WikipediaEntity

        public WikipediaEntity​(float score,
                               String title,
                               String bestMatchingTitle,
                               double bestMatchingScore,
                               List<String> entities,
                               List<String> mentionedWikipediaEntities,
                               boolean titleMentionedInPlural,
                               boolean titleHasUnspecificArticle)
    • Method Detail

      • getScore

        public float getScore()
        The Lucene score of this Wikipedia page with respect to the searched entity string.
        Returns:
        The score of this page.
      • getBestMatchingTitle

        public String getBestMatchingTitle()
      • getBestMatchingScore

        public double getBestMatchingScore()
      • isTitleHasUnspecificArticle

        public boolean isTitleHasUnspecificArticle()
      • getTitle

        public String getTitle()
      • getMentionedWikipediaEntities

        public List<String> getMentionedWikipediaEntities()
      • isTitleMentionedInPlural

        public boolean isTitleMentionedInPlural()