| Package | Description |
|---|---|
| de.datexis.index | |
| de.datexis.index.encoder | |
| de.datexis.index.impl | |
| de.datexis.nel |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<ArticleRef> |
ArticleIndex.queryID(String id)
Retrieve the article with a given ID
|
abstract List<ArticleRef> |
ArticleIndex.queryNames(String name,
int hits)
Retrieve candidates for a query on the "name" field.
|
abstract List<ArticleRef> |
ArticleIndex.queryPrefixNames(String prefix,
int hits)
Retrieve candidates for auto completion on the "name" field.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ArticleRef.ScoreComparator.compare(ArticleRef o1,
ArticleRef o2) |
| Modifier and Type | Method and Description |
|---|---|
org.nd4j.linalg.api.ndarray.INDArray |
EntityEncoder.encodeEntity(ArticleRef ref) |
| Modifier and Type | Method and Description |
|---|---|
protected ArticleRef |
LuceneArticleIndex.createWikidataArticleRef(org.apache.lucene.document.Document doc) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ArticleRef> |
LuceneArticleIndex.queryID(String id)
Retrieve the article with a given ID
|
protected List<ArticleRef> |
LuceneArticleIndex.queryIndexPrefix(String prefix,
int hits) |
List<ArticleRef> |
LuceneArticleIndex.queryNames(String name,
int hits)
Retrieve candidates for a query on the "name" field.
|
List<ArticleRef> |
LuceneArticleIndex.queryPrefixNames(String prefix,
int hits)
Retrieve candidates for auto completion on the "name" field.
|
List<ArticleRef> |
KNNArticleIndex.querySimilarArticles(org.nd4j.linalg.api.ndarray.INDArray vec,
int hits) |
List<ArticleRef> |
KNNArticleIndex.querySimilarArticles(String wikidataId,
int hits) |
List<ArticleRef> |
KNNArticleIndex.querySimilarArticles(String entityName,
String context,
int hits) |
List<ArticleRef> |
VectorArticleIndex.querySimilarArticles(String mention,
String context,
int hits) |
Optional<ArticleRef> |
LuceneArticleIndex.queryWikidataID(String id)
Retrieve the article with a given ID
|
Optional<ArticleRef> |
LuceneArticleIndex.queryWikipediaPage(String name)
Retrieve the article with a given name
|
Optional<ArticleRef> |
LuceneArticleIndex.queryWikipediaURL(String url)
Retrieve the article with a given URL
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ArticleRef> |
NamedEntityAnnotation.candidates |
| Modifier and Type | Method and Description |
|---|---|
List<ArticleRef> |
NamedEntityAnnotation.getCandidates() |
| Modifier and Type | Method and Description |
|---|---|
void |
NamedEntityAnnotation.setCandidates(List<ArticleRef> candidates,
boolean setId) |
| Constructor and Description |
|---|
NamedEntityAnnotation(MentionAnnotation ann,
List<ArticleRef> candidates) |
NamedEntityAnnotation(NamedEntityAnnotation ann,
List<ArticleRef> candidates) |
Copyright © 2020. All rights reserved.