Class WikipediaID
java.lang.Object
it.uniroma1.lcl.kb.ResourceID
it.uniroma1.lcl.kb.ResourceWithLemmaID
it.uniroma1.lcl.babelnet.resources.WikipediaID
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
-
Field Summary
Fields inherited from class ResourceID
id, language, pos, source -
Constructor Summary
ConstructorsConstructorDescriptionWikipediaID(String title, it.uniroma1.lcl.jlt.util.Language language) Constructs a Wikipedia page IDWikipediaID(String title, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos) Constructs a Wikipedia page ID -
Method Summary
Methods inherited from class ResourceWithLemmaID
getTitleMethods inherited from class ResourceID
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
-
Constructor Details
-
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 titlelanguage- the Wikipedia page languagepos- the POS (always noun)
-
WikipediaID
Constructs a Wikipedia page ID- Parameters:
title- the Wikipedia page titlelanguage- the Wikipedia page language
-