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,
com.babelscape.util.POS pos)
Constructs a Wikipedia page ID
|
getTitle
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
public WikipediaID(String title, it.uniroma1.lcl.jlt.util.Language language, com.babelscape.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–2018. All rights reserved.