Class WikiquoteID
- java.lang.Object
-
- it.uniroma1.lcl.kb.ResourceID
-
- it.uniroma1.lcl.kb.ResourceWithLemmaID
-
- it.uniroma1.lcl.babelnet.resources.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
-
-
Field Summary
-
Fields inherited from class it.uniroma1.lcl.kb.ResourceID
id, language, pos, source
-
-
Constructor Summary
Constructors Constructor Description WikiquoteID(String title, it.uniroma1.lcl.jlt.util.Language language)
Constructs a Wikiquote IDWikiquoteID(String title, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos)
Constructs a Wikiquote ID
-
Method Summary
-
Methods inherited from class it.uniroma1.lcl.kb.ResourceWithLemmaID
getTitle
-
Methods inherited from class it.uniroma1.lcl.kb.ResourceID
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
-
-
-
-
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 titlelanguage
- the page languagepos
- 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 titlelanguage
- the page language- Throws:
InvalidSynsetIDException
- thrown if the ID is invalid
-
-