public class BabelfyParameters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BabelfyParameters.DisambiguationConstraint |
static class |
BabelfyParameters.MatchingType |
static class |
BabelfyParameters.MCS |
static class |
BabelfyParameters.PosTaggingOptions |
static class |
BabelfyParameters.ScoredCandidates |
static class |
BabelfyParameters.SemanticAnnotationResource |
static class |
BabelfyParameters.SemanticAnnotationType |
Constructor and Description |
---|
BabelfyParameters() |
Modifier and Type | Method and Description |
---|---|
BabelfyParameters.SemanticAnnotationResource |
getAnnotationResource()
Returns the semantic annotation resource
|
BabelfyParameters.SemanticAnnotationType |
getAnnotationType()
Returns the semantic annotation type
|
BabelfyParameters.DisambiguationConstraint |
getDisambiguationConstraint()
Returns the disambiguation constraint
|
BabelfyParameters.MatchingType |
getMatchingType()
Returns the matching type
|
BabelfyParameters.MCS |
getMCSType()
Return the current
BabelfyParameters.MCS setting |
BabelfyParameters.PosTaggingOptions |
getPoStaggingOptions()
Returns options for the PoS tagging phase.
|
BabelfyParameters.ScoredCandidates |
getScoredCandidates()
Returns the scoredCandidates type
|
double |
getThreshold()
Returns the disambiguation threshold
|
boolean |
isDensestSubgraphEnabled()
Returns true if the densest subgraph heuristic is enabled
|
boolean |
isExtendCandidatesWithAIDAmeansEnabled()
Returns true if the candidate extractions is extended with AIDA means textfragment/wikipage
mapping.
|
boolean |
isMCSEnabled()
Returns true if the Most Common Sense heuristic is enabled
|
boolean |
isMultiTokenExpression()
Returns true if partial matching is enabled
|
boolean |
isPartialMatchingEnabled()
Returns true if partial matching is enabled
|
void |
setAnnotationResource(BabelfyParameters.SemanticAnnotationResource annotationResource)
|
void |
setAnnotationType(BabelfyParameters.SemanticAnnotationType annotationType)
|
void |
setDensestSubgraph(boolean useDensestSubgraph)
Sets use of the densest subgraph heuristic
|
void |
setDisambiguationConstraint(BabelfyParameters.DisambiguationConstraint disambiguationConstraint)
|
void |
setExtendCandidatesWithAIDAmeans(boolean extendWithAidaMeans)
Sets if the candidate extractions is extended with AIDA means textfragment/wikipage mapping.
|
void |
setMatchingType(BabelfyParameters.MatchingType matchingType)
Sets the matching type
|
void |
setMCS(BabelfyParameters.MCS useMCS)
Sets use of the Most Common Sense heuristic
|
void |
setMultiTokenExpression(boolean multiTokenExpression)
Sets whether to use multi-token expressions or not.
|
void |
setPoStaggingOptions(BabelfyParameters.PosTaggingOptions posTagging)
Sets options for the PoS tagging phase.
|
void |
setScoredCandidates(BabelfyParameters.ScoredCandidates scoredCandidates)
Sets the scoredCandidates type
|
void |
setThreshold(double threshold)
Sets the disambiguation threshold
|
public BabelfyParameters.SemanticAnnotationResource getAnnotationResource()
BabelfyParameters.SemanticAnnotationResource
public void setAnnotationResource(BabelfyParameters.SemanticAnnotationResource annotationResource)
annotationResource
- the BabelfyParameters.SemanticAnnotationResource
to be setpublic BabelfyParameters.SemanticAnnotationType getAnnotationType()
BabelfyParameters.SemanticAnnotationType
public void setAnnotationType(BabelfyParameters.SemanticAnnotationType annotationType)
annotationType
- the BabelfyParameters.SemanticAnnotationType
to be setpublic BabelfyParameters.DisambiguationConstraint getDisambiguationConstraint()
BabelfyParameters.DisambiguationConstraint
public void setDisambiguationConstraint(BabelfyParameters.DisambiguationConstraint disambiguationConstraint)
disambiguationConstraint
- the BabelfyParameters.DisambiguationConstraint
to be setpublic BabelfyParameters.MatchingType getMatchingType()
public boolean isPartialMatchingEnabled()
public boolean isMultiTokenExpression()
public void setMultiTokenExpression(boolean multiTokenExpression)
multiTokenExpression
- the multiTokenExpression to setpublic void setMatchingType(BabelfyParameters.MatchingType matchingType)
matchingType
- the new matching type to setpublic BabelfyParameters.ScoredCandidates getScoredCandidates()
public void setScoredCandidates(BabelfyParameters.ScoredCandidates scoredCandidates)
scoredCandidates
- the new scoredCandidates type to setpublic double getThreshold()
public void setThreshold(double threshold)
threshold
- the new disambiguation thresholdpublic boolean isMCSEnabled()
public BabelfyParameters.MCS getMCSType()
BabelfyParameters.MCS
settingBabelfyParameters.MCS
settingpublic void setMCS(BabelfyParameters.MCS useMCS)
useMCS
- true if MCS has to be enabled, false otherwisepublic boolean isDensestSubgraphEnabled()
public void setDensestSubgraph(boolean useDensestSubgraph)
useDensestSubgraph
- true if densest subgraph heuristic has to be enabled, false otherwisepublic boolean isExtendCandidatesWithAIDAmeansEnabled()
public void setExtendCandidatesWithAIDAmeans(boolean extendWithAidaMeans)
extendWithAidaMeans
- true if AIDA means textfragment/wikipage mapping has to be used, false otherwisepublic BabelfyParameters.PosTaggingOptions getPoStaggingOptions()
public void setPoStaggingOptions(BabelfyParameters.PosTaggingOptions posTagging)
posTagging
- the type of pos tagging to be performed