Class WikipediaID
- java.lang.Object
-
- it.uniroma1.lcl.kb.ResourceID
-
- it.uniroma1.lcl.kb.ResourceWithLemmaID
-
- it.uniroma1.lcl.babelnet.resources.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
-
-
Field Summary
-
Fields inherited from class it.uniroma1.lcl.kb.ResourceID
id, language, pos, source
-
-
Constructor Summary
Constructors Constructor Description WikipediaID(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 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
-
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
public WikipediaID(String title, it.uniroma1.lcl.jlt.util.Language language)
Constructs a Wikipedia page ID- Parameters:
title
- the Wikipedia page titlelanguage
- the Wikipedia page language
-
-