Class WikiquoteID
java.lang.Object
it.uniroma1.lcl.kb.ResourceID
it.uniroma1.lcl.kb.ResourceWithLemmaID
it.uniroma1.lcl.babelnet.resources.WikiquoteID
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 ResourceID
id, language, pos, source -
Constructor Summary
ConstructorsConstructorDescriptionWikiquoteID(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 ResourceWithLemmaID
getTitleMethods inherited from class ResourceID
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
-
Constructor Details
-
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
Constructs a Wikiquote ID- Parameters:
title- the page titlelanguage- the page language- Throws:
InvalidSynsetIDException- thrown if the ID is invalid
-