public abstract class EmbeddingProvider extends SchedulerTask
Embedding
s)
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
Embedding s based on lexical analyse. |
abstract int |
getPriority()
Returns priority of this source provider.
|
Class<? extends Scheduler> |
getSchedulerClass()
Returns
Scheduler class for this SchedulerTask. |
cancel
public 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 SchedulerTask
Scheduler
for this SchedulerTask.public abstract List<Embedding> getEmbeddings(Snapshot snapshot)
Embedding
s based on lexical analyse.snapshot
- A snapshot that should be scanned for embeddings.Embedding
s.public abstract int getPriority()
getPriority
in class SchedulerTask