public class SolverUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isMarkingSourcedFromClassifier(InformationExtractionOutcomeMarking marking)
Check if the specified marking was sourced from the trained Classifer.
|
static boolean |
isMarkingSourcedFromRegex(InformationExtractionOutcomeMarking marking)
Check if the specified marking was sourced from a REGEX pattern.
|
static boolean |
isMarkingSourcedFromStandardNer(InformationExtractionOutcomeMarking marking)
Check if the specified marking was sourced from the standard NER.
|
static boolean |
isRelationMentionSourcedFromClassifier(InformationExtractionRelationMention mention)
Check if the specified relation mention was sourced from the trained
RelationMention Classifer.
|
static boolean |
isRelationMentionSourcedFromRegex(InformationExtractionRelationMention mention)
Check if the specified relation mention was sourced from a REGEX rule.
|
static boolean |
isRelationSourcedFromClassifier(InformationExtractionOutcomeMarkingRelation relation)
Check if the specified marking relation was sourced from the trained
RelationMention Classifer.
|
static boolean |
isRelationSourcedFromImplicit(InformationExtractionOutcomeMarkingRelation relation)
Check if the specified marking relation was sourced from the
implicit relations in the domain.
|
static boolean |
isRelationSourcedFromRegex(InformationExtractionOutcomeMarkingRelation relation)
Check if the specified marking relation was sourced from a REGEX rule.
|
public static boolean isMarkingSourcedFromRegex(InformationExtractionOutcomeMarking marking) throws IfsException
marking
- the InformationExtractionOutcomeMarkingIfsException
- if the operation failspublic static boolean isMarkingSourcedFromClassifier(InformationExtractionOutcomeMarking marking) throws IfsException
marking
- the InformationExtractionOutcomeMarkingIfsException
- if the operation failspublic static boolean isMarkingSourcedFromStandardNer(InformationExtractionOutcomeMarking marking) throws IfsException
marking
- the InformationExtractionOutcomeMarkingIfsException
- if the operation failspublic static boolean isRelationSourcedFromRegex(InformationExtractionOutcomeMarkingRelation relation) throws IfsException
relation
- the InformationExtractionOutcomeMarkingRelationIfsException
- if the operation failspublic static boolean isRelationSourcedFromClassifier(InformationExtractionOutcomeMarkingRelation relation) throws IfsException
relation
- the InformationExtractionOutcomeMarkingRelationIfsException
- if the operation failspublic static boolean isRelationSourcedFromImplicit(InformationExtractionOutcomeMarkingRelation relation) throws IfsException
relation
- the InformationExtractionOutcomeMarkingRelationIfsException
- if the operation failspublic static boolean isRelationMentionSourcedFromRegex(InformationExtractionRelationMention mention) throws IfsException
mention
- the InformationExtractionRelationMentionIfsException
- if the operation failspublic static boolean isRelationMentionSourcedFromClassifier(InformationExtractionRelationMention mention) throws IfsException
mention
- the InformationExtractionOutcomeMarkingRelationIfsException
- if the operation failsCopyright © 2023. All rights reserved.