Class ResourceWithLemmaID
java.lang.Object
it.uniroma1.lcl.kb.ResourceID
it.uniroma1.lcl.kb.ResourceWithLemmaID
- Direct Known Subclasses:
WikipediaID, WikiquoteID
A resource identifier with multiple parameters.
- Author:
- navigli, vannella
-
Field Summary
Fields inherited from class ResourceID
id, language, pos, source -
Constructor Summary
ConstructorsConstructorDescriptionResourceWithLemmaID(String title, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, SenseSource source) Builds a resource with lemma and IDResourceWithLemmaID(String title, it.uniroma1.lcl.jlt.util.Language language, SenseSource source) Builds a resource with lemma and ID -
Method Summary
Methods inherited from class ResourceID
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
-
Constructor Details
-
ResourceWithLemmaID
public ResourceWithLemmaID(String title, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, SenseSource source) Builds a resource with lemma and ID- Parameters:
title- the item's titlelanguage- the item's languagepos- the item's part of speechsource- the sense source
-
ResourceWithLemmaID
public ResourceWithLemmaID(String title, it.uniroma1.lcl.jlt.util.Language language, SenseSource source) Builds a resource with lemma and ID- Parameters:
title- the item's titlelanguage- the item's languagesource- the sense source
-
-
Method Details
-
getTitle
Gets the title of thisResourceWithLemmaID- Returns:
- the title of this
ResourceWithLemmaID.
-