Package | Description |
---|---|
de.unibi.techfak.scie.probability_model | |
de.unibi.techfak.scie.probability_model.uima |
Modifier and Type | Class and Description |
---|---|
class |
ProbableHypothesis<X extends AnnotationCandidate>
This is a wrapper class to return a hypothesis with its probability to belong
to an Annotation Composition.
|
interface |
SemanticProbabilityModel<X extends AnnotationCandidate>
This is a common interface for classes that implement the functionality to
model the semantic probability
P(w' semanticly belongs to w|w' syntactically belongs to w)
|
Modifier and Type | Method and Description |
---|---|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateMaxProbHypothesis(AnnotationCandidate core,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates,
double syntacticSigma)
This calculates the AnnotationCandidate with the maximum probability to
belong to some given core for a composit annotation and returns it with
the probability (without normalization!)
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateMaxProbHypothesis(AnnotationCandidate core,
SyntacticProbabilityModel syntacticProbModel,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates)
This calculates the AnnotationCandidate with the maximum probability to
belong to some given core for a composit annotation and returns it with
the probability (without normalization!)
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateProbableHypotheses(AnnotationCandidate core,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates,
double syntacticSigma)
For any of the given candidates the probability is calculated, that this
candidate belongs to the given core annotation.
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateProbableHypotheses(AnnotationCandidate core,
SyntacticProbabilityModel syntacticProbModel,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates)
For any of the given candidates the probability is calculated, that this
candidate belongs to the given core annotation.
|
Modifier and Type | Method and Description |
---|---|
static <Y> List<Y> |
AnnotationCompositionUtil.calculateComposita(AnnotationCandidate core,
SemanticProbabilityModel[] semanticModels,
Collection[] candidates,
AnnotationCompositor<Y> compositor,
double syntacticSigma)
This calculates all composita that are possible to create given a certain
core annotation and a list of candidates for each slots of the
compositum.
|
static <Y> List<Y> |
AnnotationCompositionUtil.calculateComposita(AnnotationCandidate core,
SyntacticProbabilityModel syntacticModel,
SemanticProbabilityModel[] semanticModels,
Collection[] candidates,
AnnotationCompositor<Y> compositor)
This calculates all composita that are possible to create given a certain
core annotation and a list of candidates for each slots of the
compositum.
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateMaxProbHypothesis(AnnotationCandidate core,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates,
double syntacticSigma)
This calculates the AnnotationCandidate with the maximum probability to
belong to some given core for a composit annotation and returns it with
the probability (without normalization!)
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateMaxProbHypothesis(AnnotationCandidate core,
SyntacticProbabilityModel syntacticProbModel,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates)
This calculates the AnnotationCandidate with the maximum probability to
belong to some given core for a composit annotation and returns it with
the probability (without normalization!)
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateProbableHypotheses(AnnotationCandidate core,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates,
double syntacticSigma)
For any of the given candidates the probability is calculated, that this
candidate belongs to the given core annotation.
|
static <X extends AnnotationCandidate> |
AnnotationCompositionUtil.calculateProbableHypotheses(AnnotationCandidate core,
SyntacticProbabilityModel syntacticProbModel,
SemanticProbabilityModel<X> semanticProbModel,
Collection<X> candidates)
For any of the given candidates the probability is calculated, that this
candidate belongs to the given core annotation.
|
double |
CharBasedSyntacticProbabilityModel.calculateSyntacticProbability(AnnotationCandidate a,
AnnotationCandidate b)
Returns the probability that two given AnnotationCandidates belong
together from a syntactic perspective.
|
double |
SyntacticProbabilityModel.calculateSyntacticProbability(AnnotationCandidate a,
AnnotationCandidate b)
Returns the probability that two given AnnotationCandidates belong
together from a syntactic perspective.
|
Y |
AnnotationCompositor.compose(AnnotationCandidate core,
ArrayList<ProbableHypothesis> slotCandidates) |
Modifier and Type | Class and Description |
---|---|
static class |
UIMAAnnotationCompositionUtil.UIMAAnnotationCandidate<X extends org.apache.uima.jcas.tcas.Annotation> |
Modifier and Type | Method and Description |
---|---|
double |
UIMAWordSyntacticProbabilityModel.calculateSyntacticProbability(AnnotationCandidate a,
AnnotationCandidate b)
Returns the probability that two given AnnotationCandidates belong
together from a syntactic perspective.
|
Y |
UIMACompositor.compose(AnnotationCandidate core,
ArrayList<ProbableHypothesis> slotCandidates) |
<X extends org.apache.uima.jcas.tcas.Annotation> |
UIMAWordSyntacticProbabilityModel.getDistanceInCoveringClass(Class<X> annotationClass,
org.apache.uima.jcas.JCas jcas,
AnnotationCandidate first,
AnnotationCandidate snd)
This calculates the distance of two annotations counted in the instance of the given Class.
|
Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie