Package | Description |
---|---|
it.cnr.isti.hpc.dexter.entity | |
it.cnr.isti.hpc.dexter.lucene | |
it.cnr.isti.hpc.dexter.spot |
Modifier and Type | Method and Description |
---|---|
SpotMatch |
EntityMatch.getSpot() |
Modifier and Type | Method and Description |
---|---|
EntityMatchList |
EntityRanker.rank(SpotMatch spot) |
void |
EntityMatch.setSpot(SpotMatch spot) |
Constructor and Description |
---|
EntityMatch(Entity e,
double score,
SpotMatch spot) |
EntityMatch(int id,
double score,
SpotMatch spot) |
Modifier and Type | Method and Description |
---|---|
void |
LuceneHelper.rankBySimilarity(SpotMatch spot,
EntityMatchList eml,
String context)
Sorts a list of entities by their similarity (full text) with the string
context.
|
void |
LuceneHelper.rankBySimilarity(SpotMatch spot,
EntityMatchList eml,
String context,
String field)
Sorts a list of entities by their similarity with the string context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SpotMatchList.add(SpotMatch m) |
int |
SpotMatch.compareTo(SpotMatch m) |
boolean |
SpotMatch.overlaps(SpotMatch s)
Returns true if this spot and the given spots overlaps in the annotated
text, e.g.,
"neruda pablo picasso" -> 'neruda pablo' 'pablo picasso'
. |
Copyright © 2013. All rights reserved.