public class WikipediaID extends ResourceWithLemmaID
Usage examples:
ResourceID rID = new WikipediaID("BabelNet", Language.EN);
ResourceID rID = new WikipediaID("BabelNet", Language.EN, BabelPOS.NOUN);
id, language, pos, source| Constructor and Description |
|---|
WikipediaID(String title,
it.uniroma1.lcl.jlt.util.Language language)
Constructs a Wikipedia page ID
|
WikipediaID(String title,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos)
Constructs a Wikipedia page ID
|
getTitleequals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsetspublic WikipediaID(String title, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos)
title - the Wikipedia page titlelanguage - the Wikipedia page languagepos - the POS (always noun)public WikipediaID(String title, it.uniroma1.lcl.jlt.util.Language language)
title - the Wikipedia page titlelanguage - the Wikipedia page languageCopyright © 2016–2022. All rights reserved.