public static class ContentItemResource.EntityExtractionSummary extends Object implements Comparable<ContentItemResource.EntityExtractionSummary>
| Modifier and Type | Field and Description |
|---|---|
Map<org.apache.clerezza.rdf.core.UriRef,String> |
defaultThumbnails |
protected List<ContentItemResource.Mention> |
mentions |
protected String |
name |
protected List<ContentItemResource.EntitySuggestion> |
suggestions |
protected Set<org.apache.clerezza.rdf.core.UriRef> |
suggestionSet |
protected org.apache.clerezza.rdf.core.UriRef |
type |
| Constructor and Description |
|---|
ContentItemResource.EntityExtractionSummary(String name,
org.apache.clerezza.rdf.core.UriRef type,
Integer start,
Integer end,
Double confidence,
Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMention(ContentItemResource.Mention mention) |
void |
addSuggestion(org.apache.clerezza.rdf.core.UriRef uri,
String label,
Double confidence,
org.apache.clerezza.rdf.core.TripleCollection properties) |
int |
compareTo(ContentItemResource.EntityExtractionSummary o) |
boolean |
equals(Object o) |
ContentItemResource.EntitySuggestion |
getBestGuess() |
Double |
getConfidence() |
Integer |
getEnd() |
List<ContentItemResource.Mention> |
getMentions() |
String |
getMissingThumbnailSrc() |
String |
getName() |
String |
getSelected() |
Integer |
getStart() |
List<ContentItemResource.EntitySuggestion> |
getSuggestions() |
String |
getSummary() |
String |
getThumbnailSrc() |
String |
getUri() |
int |
hashCode() |
boolean |
hasOccurrence() |
protected final String name
protected final org.apache.clerezza.rdf.core.UriRef type
protected List<ContentItemResource.EntitySuggestion> suggestions
protected Set<org.apache.clerezza.rdf.core.UriRef> suggestionSet
protected List<ContentItemResource.Mention> mentions
public void addSuggestion(org.apache.clerezza.rdf.core.UriRef uri,
String label,
Double confidence,
org.apache.clerezza.rdf.core.TripleCollection properties)
public void addMention(ContentItemResource.Mention mention)
public String getName()
public String getSelected()
public String getUri()
public Double getConfidence()
public String getSummary()
public Integer getStart()
public Integer getEnd()
public boolean hasOccurrence()
public String getThumbnailSrc()
public String getMissingThumbnailSrc()
public ContentItemResource.EntitySuggestion getBestGuess()
public List<ContentItemResource.EntitySuggestion> getSuggestions()
public List<ContentItemResource.Mention> getMentions()
public int compareTo(ContentItemResource.EntityExtractionSummary o)
compareTo in interface Comparable<ContentItemResource.EntityExtractionSummary>Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.