edu.uchsc.ccp.knowtator
Class KnowtatorProjectUtil
java.lang.Object
edu.uchsc.ccp.knowtator.KnowtatorProjectUtil
public class KnowtatorProjectUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KNOWTATOR_SUPPORT_CLS_NAME
public static final String KNOWTATOR_SUPPORT_CLS_NAME
- See Also:
- Constant Field Values
KNOWTATOR_VERSION_CLS_NAME
public static final String KNOWTATOR_VERSION_CLS_NAME
- See Also:
- Constant Field Values
ANNOTATION_CLS_NAME
public static final String ANNOTATION_CLS_NAME
- See Also:
- Constant Field Values
ANNOTATED_MENTION_SLOT_NAME
public static final String ANNOTATED_MENTION_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATION_ANNOTATOR_SLOT_NAME
public static final String ANNOTATION_ANNOTATOR_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATION_COMMENT_SLOT_NAME
public static final String ANNOTATION_COMMENT_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATION_CREATION_DATE_SLOT_NAME
public static final String ANNOTATION_CREATION_DATE_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATION_SPAN_SLOT_NAME
public static final String ANNOTATION_SPAN_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATION_TEXT_SLOT_NAME
public static final String ANNOTATION_TEXT_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATION_TEXT_SOURCE_SLOT_NAME
public static final String ANNOTATION_TEXT_SOURCE_SLOT_NAME
- See Also:
- Constant Field Values
SET_SLOT_NAME
public static final String SET_SLOT_NAME
- See Also:
- Constant Field Values
MENTION_CLS_NAME
public static final String MENTION_CLS_NAME
- See Also:
- Constant Field Values
MENTION_ANNOTATION_SLOT_NAME
public static final String MENTION_ANNOTATION_SLOT_NAME
- See Also:
- Constant Field Values
CLASS_MENTION_CLS_NAME
public static final String CLASS_MENTION_CLS_NAME
- See Also:
- Constant Field Values
MENTION_CLASS_SLOT_NAME
public static final String MENTION_CLASS_SLOT_NAME
- See Also:
- Constant Field Values
SLOT_MENTION_SLOT_NAME
public static final String SLOT_MENTION_SLOT_NAME
- See Also:
- Constant Field Values
INSTANCE_MENTION_CLS_NAME
public static final String INSTANCE_MENTION_CLS_NAME
- See Also:
- Constant Field Values
MENTION_INSTANCE_SLOT_NAME
public static final String MENTION_INSTANCE_SLOT_NAME
- See Also:
- Constant Field Values
SLOT_MENTION_CLS_NAME
public static final String SLOT_MENTION_CLS_NAME
- See Also:
- Constant Field Values
MENTION_SLOT_SLOT_NAME
public static final String MENTION_SLOT_SLOT_NAME
- See Also:
- Constant Field Values
MENTION_SLOT_VALUE_SLOT_NAME
public static final String MENTION_SLOT_VALUE_SLOT_NAME
- See Also:
- Constant Field Values
MENTIONED_IN_SLOT_NAME
public static final String MENTIONED_IN_SLOT_NAME
- See Also:
- Constant Field Values
COMPLEX_SLOT_MENTION_CLS_NAME
public static final String COMPLEX_SLOT_MENTION_CLS_NAME
- See Also:
- Constant Field Values
BOOLEAN_SLOT_MENTION_CLS_NAME
public static final String BOOLEAN_SLOT_MENTION_CLS_NAME
- See Also:
- Constant Field Values
FLOAT_SLOT_MENTION_CLS_NAME
public static final String FLOAT_SLOT_MENTION_CLS_NAME
- See Also:
- Constant Field Values
INTEGER_SLOT_MENTION_CLS_NAME
public static final String INTEGER_SLOT_MENTION_CLS_NAME
- See Also:
- Constant Field Values
STRING_SLOT_MENTION_CLS_NAME
public static final String STRING_SLOT_MENTION_CLS_NAME
- See Also:
- Constant Field Values
TEXT_SOURCE_CLS_NAME
public static final String TEXT_SOURCE_CLS_NAME
- See Also:
- Constant Field Values
ANNOTATOR_CLS_NAME
public static final String ANNOTATOR_CLS_NAME
- See Also:
- Constant Field Values
ANNOTATOR_ID_SLOT_NAME
public static final String ANNOTATOR_ID_SLOT_NAME
- See Also:
- Constant Field Values
HUMAN_ANNOTATOR_CLS_NAME
public static final String HUMAN_ANNOTATOR_CLS_NAME
- See Also:
- Constant Field Values
ANNOTATOR_AFFILIATION_SLOT_NAME
public static final String ANNOTATOR_AFFILIATION_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATOR_FIRST_NAME_SLOT_NAME
public static final String ANNOTATOR_FIRST_NAME_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATOR_LAST_NAME_SLOT_NAME
public static final String ANNOTATOR_LAST_NAME_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATOR_TEAM_CLS_NAME
public static final String ANNOTATOR_TEAM_CLS_NAME
- See Also:
- Constant Field Values
ANNOTATOR_TEAM_NAME_SLOT_NAME
public static final String ANNOTATOR_TEAM_NAME_SLOT_NAME
- See Also:
- Constant Field Values
ANNOTATOR_TEAM_MEMBERS_SLOT_NAME
public static final String ANNOTATOR_TEAM_MEMBERS_SLOT_NAME
- See Also:
- Constant Field Values
DISPLAY_COLOR_CLS_NAME
public static final String DISPLAY_COLOR_CLS_NAME
- See Also:
- Constant Field Values
DISPLAY_COLOR_B_SLOT_NAME
public static final String DISPLAY_COLOR_B_SLOT_NAME
- See Also:
- Constant Field Values
DISPLAY_COLOR_G_SLOT_NAME
public static final String DISPLAY_COLOR_G_SLOT_NAME
- See Also:
- Constant Field Values
DISPLAY_COLOR_NAME_SLOT_NAME
public static final String DISPLAY_COLOR_NAME_SLOT_NAME
- See Also:
- Constant Field Values
DISPLAY_COLOR_R_SLOT_NAME
public static final String DISPLAY_COLOR_R_SLOT_NAME
- See Also:
- Constant Field Values
SET_CLS_NAME
public static final String SET_CLS_NAME
- See Also:
- Constant Field Values
SET_DESCRIPTION_SLOT_NAME
public static final String SET_DESCRIPTION_SLOT_NAME
- See Also:
- Constant Field Values
SET_NAME_SLOT_NAME
public static final String SET_NAME_SLOT_NAME
- See Also:
- Constant Field Values
CONSENSUS_SET_CLS_NAME
public static final String CONSENSUS_SET_CLS_NAME
- See Also:
- Constant Field Values
CONSENSUS_SET_INDIVIDUAL_FILTER_SLOT_NAME
public static final String CONSENSUS_SET_INDIVIDUAL_FILTER_SLOT_NAME
- See Also:
- Constant Field Values
CONSENSUS_SET_CONSENSUS_FILTER_SLOT_NAME
public static final String CONSENSUS_SET_CONSENSUS_FILTER_SLOT_NAME
- See Also:
- Constant Field Values
CONSENSUS_SET_TEAM_ANNOTATOR_SLOT_NAME
public static final String CONSENSUS_SET_TEAM_ANNOTATOR_SLOT_NAME
- See Also:
- Constant Field Values
FILTER_CLS_NAME
public static final String FILTER_CLS_NAME
- See Also:
- Constant Field Values
FILTER_ANNOTATOR_SLOT_NAME
public static final String FILTER_ANNOTATOR_SLOT_NAME
- See Also:
- Constant Field Values
FILTER_NAME_SLOT_NAME
public static final String FILTER_NAME_SLOT_NAME
- See Also:
- Constant Field Values
FILTER_SET_SLOT_NAME
public static final String FILTER_SET_SLOT_NAME
- See Also:
- Constant Field Values
FILTER_TYPE_SLOT_NAME
public static final String FILTER_TYPE_SLOT_NAME
- See Also:
- Constant Field Values
CONSENSUS_FILTER_CLS_NAME
public static final String CONSENSUS_FILTER_CLS_NAME
- See Also:
- Constant Field Values
FILTER_TYPES_NOT_SELECTABLE_FROM_TEXT_VIEWER
public static final String FILTER_TYPES_NOT_SELECTABLE_FROM_TEXT_VIEWER
- See Also:
- Constant Field Values
COLOR_ASSIGNMENT_CLS_NAME
public static final String COLOR_ASSIGNMENT_CLS_NAME
- See Also:
- Constant Field Values
COLOR_CLASS_SLOT_NAME
public static final String COLOR_CLASS_SLOT_NAME
- See Also:
- Constant Field Values
DISPLAY_COLOR_SLOT_NAME
public static final String DISPLAY_COLOR_SLOT_NAME
- See Also:
- Constant Field Values
TSC_IMPLEMENTATIONS_CLS_NAME
public static final String TSC_IMPLEMENTATIONS_CLS_NAME
- See Also:
- Constant Field Values
TSC_IMPLEMENTATION_SLOT_NAME
public static final String TSC_IMPLEMENTATION_SLOT_NAME
- See Also:
- Constant Field Values
SELECTED_FILTERS_CLS_NAME
public static final String SELECTED_FILTERS_CLS_NAME
- See Also:
- Constant Field Values
SELECTED_FILTERS_SLOT_NAME
public static final String SELECTED_FILTERS_SLOT_NAME
- See Also:
- Constant Field Values
SLOT_MATCHER_CONFIG_CLS_NAME
public static final String SLOT_MATCHER_CONFIG_CLS_NAME
- See Also:
- Constant Field Values
COMPLEX_SLOT_MATCH_CRITERIA_CLS_NAME
public static final String COMPLEX_SLOT_MATCH_CRITERIA_CLS_NAME
- See Also:
- Constant Field Values
SIMPLE_SLOT_MATCH_CRITERIA_CLS_NAME
public static final String SIMPLE_SLOT_MATCH_CRITERIA_CLS_NAME
- See Also:
- Constant Field Values
CLASS_MATCH_CRITERIA_SLOT_NAME
public static final String CLASS_MATCH_CRITERIA_SLOT_NAME
- See Also:
- Constant Field Values
SLOT_MATCH_CRITERIA_SLOT_NAME
public static final String SLOT_MATCH_CRITERIA_SLOT_NAME
- See Also:
- Constant Field Values
SPAN_MATCH_CRITERIA_SLOT_NAME
public static final String SPAN_MATCH_CRITERIA_SLOT_NAME
- See Also:
- Constant Field Values
SLOT_MATCHER_SLOT_SLOT_NAME
public static final String SLOT_MATCHER_SLOT_SLOT_NAME
- See Also:
- Constant Field Values
SLOT_MATCHER_SIMPLE_SLOTS_SLOT_NAME
public static final String SLOT_MATCHER_SIMPLE_SLOTS_SLOT_NAME
- See Also:
- Constant Field Values
PROPOGATE_TRIVIAL_MATCH_SLOT_NAME
public static final String PROPOGATE_TRIVIAL_MATCH_SLOT_NAME
- See Also:
- Constant Field Values
CONFIGURATION_CLS_NAME
public static final String CONFIGURATION_CLS_NAME
- See Also:
- Constant Field Values
ACTIVE_FILTERS_SLOT_NAME
public static final String ACTIVE_FILTERS_SLOT_NAME
- See Also:
- Constant Field Values
COLOR_ASSIGNMENTS_SLOT_NAME
public static final String COLOR_ASSIGNMENTS_SLOT_NAME
- See Also:
- Constant Field Values
ROOT_CLSES_SLOT_NAME
public static final String ROOT_CLSES_SLOT_NAME
- See Also:
- Constant Field Values
SELECTED_ANNOTATION_SET_SLOT_NAME
public static final String SELECTED_ANNOTATION_SET_SLOT_NAME
- See Also:
- Constant Field Values
SELECTED_ANNOTATOR_SLOT_NAME
public static final String SELECTED_ANNOTATOR_SLOT_NAME
- See Also:
- Constant Field Values
SELECTED_FILTER_SLOT_NAME
public static final String SELECTED_FILTER_SLOT_NAME
- See Also:
- Constant Field Values
TOKEN_REGEX_SLOT_NAME
public static final String TOKEN_REGEX_SLOT_NAME
- See Also:
- Constant Field Values
FADE_UNSELECTED_ANNOTATIONS
public static final String FADE_UNSELECTED_ANNOTATIONS
- See Also:
- Constant Field Values
SUBTEXT_SLOT_SLOT_NAME
public static final String SUBTEXT_SLOT_SLOT_NAME
- See Also:
- Constant Field Values
KNOWTATOR_SUPPORT_CLASSES_VERSION
public static final String KNOWTATOR_SUPPORT_CLASSES_VERSION
- See Also:
- Constant Field Values
UNVERSIONED
public static final String UNVERSIONED
- See Also:
- Constant Field Values
V001
public static final String V001
- See Also:
- Constant Field Values
V002
public static final String V002
- See Also:
- Constant Field Values
V003
public static final String V003
- See Also:
- Constant Field Values
V004
public static final String V004
- See Also:
- Constant Field Values
V005
public static final String V005
- See Also:
- Constant Field Values
V006
public static final String V006
- See Also:
- Constant Field Values
V007
public static final String V007
- See Also:
- Constant Field Values
CURRENT_VERSION
public static final String CURRENT_VERSION
- See Also:
- Constant Field Values
VERSION_BEING_UPDATED
public static final String VERSION_BEING_UPDATED
- See Also:
- Constant Field Values
KnowtatorProjectUtil
public KnowtatorProjectUtil(KnowledgeBase kb)
KnowtatorProjectUtil
public KnowtatorProjectUtil(KnowledgeBase kb,
Component parent)
- Creates a new instance of KnowtatorKBUtil
getKnowledgeBase
public KnowledgeBase getKnowledgeBase()
getKnowtatorSupportClassesVersion
public String getKnowtatorSupportClassesVersion()
getKnowtatorSupportClassesVersion
public static String getKnowtatorSupportClassesVersion(KnowledgeBase kb)
isKnowtatorSupportClassesCurrent
public boolean isKnowtatorSupportClassesCurrent()
isKnowtatorSupportClassesCurrent
public static boolean isKnowtatorSupportClassesCurrent(KnowledgeBase kb)
updateKnowtatorProject
public static void updateKnowtatorProject(Project project)
throws IOException
- Throws:
IOException
displayAnnotationAuthor
public void displayAnnotationAuthor()
getShowAllFilter
public SimpleInstance getShowAllFilter()
getShowNoneFilter
public SimpleInstance getShowNoneFilter()
getAnnotationCls
public Cls getAnnotationCls()
getAnnotatedMentionSlot
public Slot getAnnotatedMentionSlot()
getAnnotationAnnotatorSlot
public Slot getAnnotationAnnotatorSlot()
getAnnotationCommentSlot
public Slot getAnnotationCommentSlot()
getAnnotationCreationDateSlot
public Slot getAnnotationCreationDateSlot()
getAnnotationSpanSlot
public Slot getAnnotationSpanSlot()
getAnnotationTextSlot
public Slot getAnnotationTextSlot()
getAnnotationTextSourceSlot
public Slot getAnnotationTextSourceSlot()
getSetSlot
public Slot getSetSlot()
getMentionCls
public Cls getMentionCls()
getMentionAnnotationSlot
public Slot getMentionAnnotationSlot()
getClassMentionCls
public Cls getClassMentionCls()
getMentionClassSlot
public Slot getMentionClassSlot()
getSlotMentionSlot
public Slot getSlotMentionSlot()
getInstanceMentionCls
public Cls getInstanceMentionCls()
getMentionInstanceSlot
public Slot getMentionInstanceSlot()
getSlotMentionCls
public Cls getSlotMentionCls()
getMentionSlotSlot
public Slot getMentionSlotSlot()
getMentionSlotValueSlot
public Slot getMentionSlotValueSlot()
getMentionedInSlot
public Slot getMentionedInSlot()
getComplexSlotMentionCls
public Cls getComplexSlotMentionCls()
getBooleanSlotMentionCls
public Cls getBooleanSlotMentionCls()
getFloatSlotMentionCls
public Cls getFloatSlotMentionCls()
getIntegerSlotMentionCls
public Cls getIntegerSlotMentionCls()
getStringSlotMentionCls
public Cls getStringSlotMentionCls()
getTextSourceCls
public Cls getTextSourceCls()
getAnnotatorCls
public Cls getAnnotatorCls()
getHumanAnnotatorCls
public Cls getHumanAnnotatorCls()
getTeamAnnotatorCls
public Cls getTeamAnnotatorCls()
getAnnotatorTeamMembersSlot
public Slot getAnnotatorTeamMembersSlot()
getAnnotatorTeamNameSlot
public Slot getAnnotatorTeamNameSlot()
getDisplayColorCls
public Cls getDisplayColorCls()
getDisplayColorBSlot
public Slot getDisplayColorBSlot()
getDisplayColorGSlot
public Slot getDisplayColorGSlot()
getDisplayColorNameSlot
public Slot getDisplayColorNameSlot()
getDisplayColorRSlot
public Slot getDisplayColorRSlot()
getSetCls
public Cls getSetCls()
getSetDescriptionSlot
public Slot getSetDescriptionSlot()
getSetNameSlot
public Slot getSetNameSlot()
getConsensusSetCls
public Cls getConsensusSetCls()
getConsensusSetConsensusFilterSlot
public Slot getConsensusSetConsensusFilterSlot()
getConsensusSetIndividualFilterSlot
public Slot getConsensusSetIndividualFilterSlot()
getConsensusSetTeamAnnotatorSlot
public Slot getConsensusSetTeamAnnotatorSlot()
getFilterCls
public Cls getFilterCls()
getFilterAnnotatorSlot
public Slot getFilterAnnotatorSlot()
getFilterNameSlot
public Slot getFilterNameSlot()
getFilterSetSlot
public Slot getFilterSetSlot()
getFilterTypeSlot
public Slot getFilterTypeSlot()
getConsensusFilterCls
public Cls getConsensusFilterCls()
getColorAssignmentCls
public Cls getColorAssignmentCls()
getColorClassSlot
public Slot getColorClassSlot()
getDisplayColorSlot
public Slot getDisplayColorSlot()
getClassMatchCriteriaSlot
public Slot getClassMatchCriteriaSlot()
getComplexSlotMatchCriteriaCls
public Cls getComplexSlotMatchCriteriaCls()
getPropogateTrivialMatchSlot
public Slot getPropogateTrivialMatchSlot()
getSimpleSlotMatchCriteriaCls
public Cls getSimpleSlotMatchCriteriaCls()
getSlotMatchCriteriaSlot
public Slot getSlotMatchCriteriaSlot()
getSlotMatcherConfigCls
public Cls getSlotMatcherConfigCls()
getSlotMatcherSimpleSlotsSlot
public Slot getSlotMatcherSimpleSlotsSlot()
getSlotMatcherSlotSlot
public Slot getSlotMatcherSlotSlot()
getSpanMatchCriteriaSlot
public Slot getSpanMatchCriteriaSlot()
getActiveFiltersSlot
public Slot getActiveFiltersSlot()
getAnnotatorAffiliationSlot
public Slot getAnnotatorAffiliationSlot()
getAnnotatorFirstNameSlot
public Slot getAnnotatorFirstNameSlot()
getAnnotatorIDSlot
public Slot getAnnotatorIDSlot()
getAnnotatorLastNameSlot
public Slot getAnnotatorLastNameSlot()
getColorAssignmentsSlot
public Slot getColorAssignmentsSlot()
getConfigurationCls
public Cls getConfigurationCls()
getKnowtatorSupportCls
public Cls getKnowtatorSupportCls()
getRootClsesSlot
public Slot getRootClsesSlot()
getSelectedAnnotationSetSlot
public Slot getSelectedAnnotationSetSlot()
getSelectedAnnotatorSlot
public Slot getSelectedAnnotatorSlot()
getSelectedFiltersCls
public Cls getSelectedFiltersCls()
getSelectedFilterSlot
public Slot getSelectedFilterSlot()
getSelectedFiltersSlot
public Slot getSelectedFiltersSlot()
getTokenRegexSlot
public Slot getTokenRegexSlot()
getTscImplementationsCls
public Cls getTscImplementationsCls()
getTscImplementationsSlot
public Slot getTscImplementationsSlot()
getFilterTypesNotSelectableFromTextViewerSlot
public Slot getFilterTypesNotSelectableFromTextViewerSlot()
getFadeUnselectedAnnotationsSlot
public Slot getFadeUnselectedAnnotationsSlot()
getSubtextSlotSlot
public Slot getSubtextSlotSlot()