Package it.uniroma1.lcl.kb
Class ResourceWithLemmaID
- java.lang.Object
-
- it.uniroma1.lcl.kb.ResourceID
-
- it.uniroma1.lcl.kb.ResourceWithLemmaID
-
- Direct Known Subclasses:
WikipediaID,WikiquoteID
public abstract class ResourceWithLemmaID extends ResourceID
A resource identifier with multiple parameters.- Author:
- navigli, vannella
-
-
Field Summary
-
Fields inherited from class it.uniroma1.lcl.kb.ResourceID
id, language, pos, source
-
-
Constructor Summary
Constructors Constructor Description 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 IDResourceWithLemmaID(String title, it.uniroma1.lcl.jlt.util.Language language, SenseSource source)Builds a resource with lemma and ID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTitle()Gets the title of thisResourceWithLemmaID-
Methods inherited from class it.uniroma1.lcl.kb.ResourceID
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
-
-
-
-
Constructor Detail
-
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 Detail
-
getTitle
public String getTitle()
Gets the title of thisResourceWithLemmaID- Returns:
- the title of this
ResourceWithLemmaID.
-
-