-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SciSpacy plugin compatibility #425
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
eb3a8cb
Added scispacy_model_name
hrshdhgd 7ee548b
Added scispacy_model_name
hrshdhgd 532daa5
version bump for debugging
hrshdhgd 4ed4941
unnecessary docstring
hrshdhgd 16b7759
added models and entityLinkers as enums
hrshdhgd 575c187
added linker cli shortcut -l
hrshdhgd eee606f
undo 2 extra slots and added 1
hrshdhgd 85bdb2e
cleanup
hrshdhgd 0f6146f
rolled back entirely
hrshdhgd 15117af
missed commenting one line
hrshdhgd 9457ed3
reintroduced plugin config
hrshdhgd 4ac82a0
ran make py
hrshdhgd b311984
rollled back version
hrshdhgd 991364b
temp change in version #
hrshdhgd 78b7237
rolled back version
hrshdhgd 9803fd5
temp version bump
hrshdhgd 250140a
version reset to 0
hrshdhgd 8a2e3bc
added model in onfig a version bump
hrshdhgd ca12d06
rolled back version
hrshdhgd 8618aef
added model in CLI
hrshdhgd d41d568
added -m
hrshdhgd 562677d
rolled back version
hrshdhgd File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,119 +1 @@ | ||
{ | ||
"$defs": { | ||
"TextAnnotation": { | ||
"additionalProperties": false, | ||
"description": "An individual text annotation", | ||
"properties": { | ||
"confidence": { | ||
"type": "number" | ||
}, | ||
"info": { | ||
"type": "string" | ||
}, | ||
"is_longest_match": { | ||
"type": "boolean" | ||
}, | ||
"match_string": { | ||
"type": "string" | ||
}, | ||
"match_type": { | ||
"type": "string" | ||
}, | ||
"object_id": { | ||
"type": "string" | ||
}, | ||
"object_label": { | ||
"type": "string" | ||
}, | ||
"object_source": { | ||
"type": "string" | ||
}, | ||
"predicate_id": { | ||
"type": "string" | ||
}, | ||
"subject_end": { | ||
"type": "integer" | ||
}, | ||
"subject_label": { | ||
"description": "The portion of the subject text that is matched, ranging from subject_start to subject_end", | ||
"type": "string" | ||
}, | ||
"subject_source": { | ||
"type": "string" | ||
}, | ||
"subject_start": { | ||
"type": "integer" | ||
}, | ||
"subject_text_id": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [], | ||
"title": "TextAnnotation", | ||
"type": "object" | ||
}, | ||
"TextAnnotationResultSet": { | ||
"additionalProperties": false, | ||
"description": "A collection of annotation results", | ||
"properties": { | ||
"annotations": { | ||
"description": "all annotations", | ||
"items": { | ||
"$ref": "#/$defs/TextAnnotation" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"required": [], | ||
"title": "TextAnnotationResultSet", | ||
"type": "object" | ||
}, | ||
"TextualElement": { | ||
"additionalProperties": false, | ||
"description": "", | ||
"properties": { | ||
"id": { | ||
"type": "string" | ||
}, | ||
"parent_document": { | ||
"type": "string" | ||
}, | ||
"source_text": { | ||
"type": "string" | ||
}, | ||
"text": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"id" | ||
], | ||
"title": "TextualElement", | ||
"type": "object" | ||
}, | ||
"TransformationType": { | ||
"description": "A controlled datamodels of the types of transformation that can be applied to", | ||
"enum": [ | ||
"Stemming", | ||
"Lemmatization", | ||
"WordOrderNormalization", | ||
"Depluralization", | ||
"CaseNormalization", | ||
"WhitespaceNormalization", | ||
"TermExpanson" | ||
], | ||
"title": "TransformationType", | ||
"type": "string" | ||
} | ||
}, | ||
"$id": "https://w3id.org/linkml/text_annotator", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"additionalProperties": true, | ||
"metamodel_version": "1.7.0", | ||
"properties": {}, | ||
"required": [], | ||
"title": "text-annotator", | ||
"type": "object", | ||
"version": null | ||
} | ||
|
||
{"$defs": {"TextAnnotation": {"additionalProperties": false, "description": "An individual text annotation", "properties": {"confidence": {"type": "number"}, "info": {"type": "string"}, "is_longest_match": {"type": "boolean"}, "match_string": {"type": "string"}, "match_type": {"type": "string"}, "matches_whole_text": {"type": "boolean"}, "object_id": {"type": "string"}, "object_label": {"type": "string"}, "object_source": {"type": "string"}, "predicate_id": {"type": "string"}, "subject_end": {"type": "integer"}, "subject_label": {"description": "The portion of the subject text that is matched, ranging from subject_start to subject_end", "type": "string"}, "subject_source": {"type": "string"}, "subject_start": {"type": "integer"}, "subject_text_id": {"type": "string"}}, "title": "TextAnnotation", "type": "object"}, "TextAnnotationConfiguration": {"additionalProperties": false, "description": "configuration for search", "properties": {"limit": {"type": "integer"}, "matches_whole_text": {"type": "boolean"}, "model": {"type": "string"}, "sources": {"items": {"type": "string"}, "type": "array"}, "token_exclusion_list": {"items": {"type": "string"}, "type": "array"}}, "title": "TextAnnotationConfiguration", "type": "object"}, "TextAnnotationResultSet": {"additionalProperties": false, "description": "A collection of annotation results", "properties": {"annotations": {"description": "all annotations", "items": {"$ref": "#/$defs/TextAnnotation"}, "type": "array"}}, "title": "TextAnnotationResultSet", "type": "object"}, "TextualElement": {"additionalProperties": false, "description": "", "properties": {"id": {"type": "string"}, "parent_document": {"type": "string"}, "source_text": {"type": "string"}, "text": {"type": "string"}}, "required": ["id"], "title": "TextualElement", "type": "object"}, "TransformationType": {"description": "A controlled datamodels of the types of transformation that can be applied to", "enum": ["Stemming", "Lemmatization", "WordOrderNormalization", "Depluralization", "CaseNormalization", "WhitespaceNormalization", "TermExpanson"], "title": "TransformationType", "type": "string"}}, "$id": "https://w3id.org/linkml/text_annotator", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, "metamodel_version": "1.7.0", "title": "text-annotator", "type": "object", "version": null} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no point keeping around