Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/531' into release/531
Browse files Browse the repository at this point in the history
  • Loading branch information
C-K-Loan-ADIA committed Apr 30, 2024
2 parents 823592d + fb196a1 commit 69c9452
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See how easy it is to use any of the **thousands** of models in 1 line of code,
This 1 line let's you visualize and play with **1000+ SOTA NLU & NLP models** in **200** languages

```shell
streamlit run https://raw.githubusercontent.com/JohnSnowLabs/nlu/master/examples/streamlit/01_dashboard.py
streamlit run https://raw.githubusercontent.com/JohnSnowLabs/nlu/master/examples/streamlit/01_dashboard.py
```
<img src="https://raw.githubusercontent.com/JohnSnowLabs/nlu/master/docs/assets/streamlit_docs_assets/gif/start.gif">

Expand Down
2 changes: 2 additions & 0 deletions nlu/spellbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -10631,6 +10631,8 @@ 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.subentity_optimized.pipeline': 'clinical_deidentification_subentity_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 @@ -790,6 +790,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

0 comments on commit 69c9452

Please sign in to comment.