public abstract class EmbeddingProvider extends SchedulerTask
Embeddings)
based on lexical analyse of current snapshot. Embedded
source can consist from one or more blocks of original source and it can contain
some generated parts that has no mirror in the original text. See
Snapshot class for more information how to create embedded source.| Modifier and Type | Class and Description |
|---|---|
static interface |
EmbeddingProvider.Registration
Registration of the
EmbeddingProvider. |
| Constructor and Description |
|---|
EmbeddingProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<Embedding> |
getEmbeddings(Snapshot snapshot)
Returns list of
Embeddings based on lexical analyse. |
abstract int |
getPriority()
Returns priority of this source provider.
|
Class<? extends Scheduler> |
getSchedulerClass()
Returns
Scheduler class for this SchedulerTask. |
cancelpublic final Class<? extends Scheduler> getSchedulerClass()
Scheduler class for this SchedulerTask. See
Scheduler documentation for a list of default schedulers,
or your your own implementation.getSchedulerClass in class SchedulerTaskScheduler for this SchedulerTask.public abstract List<Embedding> getEmbeddings(Snapshot snapshot)
Embeddings based on lexical analyse.snapshot - A snapshot that should be scanned for embeddings.Embeddings.public abstract int getPriority()
getPriority in class SchedulerTask