Class WikipediaID


  • public class WikipediaID
    extends ResourceWithLemmaID
    A resource identifier with the specified Wikipedia page title, language and POS.

    Usage examples:

      ResourceID rID = new WikipediaID("BabelNet", Language.EN);
      ResourceID rID = new WikipediaID("BabelNet", Language.EN, BabelPOS.NOUN);
     
    Author:
    navigli, vannella
    • Constructor Detail

      • WikipediaID

        public WikipediaID​(String title,
                           it.uniroma1.lcl.jlt.util.Language language,
                           it.uniroma1.lcl.jlt.util.POS pos)
        Constructs a Wikipedia page ID
        Parameters:
        title - the Wikipedia page title
        language - the Wikipedia page language
        pos - the POS (always noun)
      • WikipediaID

        public WikipediaID​(String title,
                           it.uniroma1.lcl.jlt.util.Language language)
        Constructs a Wikipedia page ID
        Parameters:
        title - the Wikipedia page title
        language - the Wikipedia page language