Class WikiquoteID


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

    Usage examples:

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

      • WikiquoteID

        public WikiquoteID​(String title,
                           it.uniroma1.lcl.jlt.util.Language language,
                           it.uniroma1.lcl.jlt.util.POS pos)
        Constructs a Wikiquote ID
        Parameters:
        title - the page title
        language - the page language
        pos - the part of speech tag
        Throws:
        InvalidSynsetIDException - thrown if the ID is invalid
      • WikiquoteID

        public WikiquoteID​(String title,
                           it.uniroma1.lcl.jlt.util.Language language)
        Constructs a Wikiquote ID
        Parameters:
        title - the page title
        language - the page language
        Throws:
        InvalidSynsetIDException - thrown if the ID is invalid