Skip to content
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

TextMatcherInternalModel annotator and clinical_deidentification_gene… #261

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nlu/spellbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -10631,6 +10631,7 @@ class Spellbook:
'en.deid.clinical_wip': 'clinical_deidentification_wip',
'en.deid.glove_augmented.pipeline': 'clinical_deidentification_glove_augmented',
'en.deid.glove_pipeline': 'clinical_deidentification_glove',
'en.deid.generic_optimized.pipeline': 'clinical_deidentification_generic_optimized',
'en.deid.med_ner_large.pipeline': 'ner_deid_sd_large_pipeline',
'en.deid.ner_augmented.pipeline': 'ner_deid_augmented_pipeline',
'en.deid.ner_biobert.pipeline': 'ner_deid_biobert_pipeline',
Expand Down
1 change: 1 addition & 0 deletions nlu/universe/annotator_class_universe.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ class AnnoClassRef:
A_N.PARTIAL_EntityRulerApproach: 'EntityRulerApproach',
A_N.PARTIAL_EntityRulerModel: 'EntityRulerModel',
A_N.PARTIAL_TextMatcherModel: 'TextMatcherModel',
A_N.PARTIAL_TextMatcherInternalModel: 'TextMatcherInternalModel',
A_N.PARTIAL_BigTextMatcher: 'BigTextMatcher',
A_N.PARTIAL_BigTextMatcherModel: 'BigTextMatcherModel',
A_N.PARTIAL_DateMatcher: 'DateMatcher',
Expand Down
17 changes: 17 additions & 0 deletions nlu/universe/component_universes.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,23 @@ class ComponentUniverse:
output_context=ComputeContexts.spark,
),

A.PARTIAL_TextMatcherInternalModel: partial(NluComponent,
name=A.PARTIAL_ChunkMergeApproach,
jsl_anno_class_id=A.PARTIAL_TextMatcherInternalModel,
jsl_anno_py_class=ACR.JSL_anno2_py_class[A.PARTIAL_TextMatcherInternalModel],
node=NLP_FEATURE_NODES.nodes[A.PARTIALLY_IMPLEMENTED],
type=T.PARTIALLY_READY,
pdf_extractor_methods={'default': default_partial_implement_config,
'default_full': default_full_config, },
pdf_col_name_substitutor=partially_implemented_substitutor,
output_level=L.DOCUMENT,
description='Not fully integrated',
provider=ComponentBackends.open_source,
license=Licenses.open_source,
computation_context=ComputeContexts.spark,
output_context=ComputeContexts.spark,
),

A.PARTIAL_BigTextMatcher: partial(NluComponent,
name=A.PARTIAL_ChunkMergeApproach,
jsl_anno_class_id=A.PARTIAL_BigTextMatcher,
Expand Down
2 changes: 2 additions & 0 deletions nlu/universe/feature_node_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ class NLP_NODE_IDS:
PARTIAL_EntityRulerApproach = JslAnnoId('PARTIAL_EntityRulerApproach')
PARTIAL_EntityRulerModel = JslAnnoId('PARTIAL_EntityRulerModel')
PARTIAL_TextMatcherModel = JslAnnoId('PARTIAL_TextMatcherModel')
PARTIAL_TextMatcherModel = JslAnnoId('PARTIAL_TextMatcherModel')
PARTIAL_BigTextMatcher = JslAnnoId('PARTIAL_BigTextMatcher')
PARTIAL_BigTextMatcherModel = JslAnnoId('PARTIAL_BigTextMatcherModel')
PARTIAL_TextMatcherInternalModel = JslAnnoId('PARTIAL_TextMatcherInternalModel')
PARTIAL_DateMatcher = JslAnnoId('PARTIAL_DateMatcher')
PARTIAL_MultiDateMatcher = JslAnnoId('PARTIAL_MultiDateMatcher')
PARTIAL_RegexMatcher = JslAnnoId('PARTIAL_RegexMatcher')
Expand Down
Loading