Skip to content

Commit 69c9452

Browse files
committed
Merge remote-tracking branch 'origin/release/531' into release/531
2 parents 823592d + fb196a1 commit 69c9452

5 files changed

Lines changed: 23 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See how easy it is to use any of the **thousands** of models in 1 line of code,
1313
This 1 line let's you visualize and play with **1000+ SOTA NLU & NLP models** in **200** languages
1414

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

nlu/spellbook.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10631,6 +10631,8 @@ class Spellbook:
1063110631
'en.deid.clinical_wip': 'clinical_deidentification_wip',
1063210632
'en.deid.glove_augmented.pipeline': 'clinical_deidentification_glove_augmented',
1063310633
'en.deid.glove_pipeline': 'clinical_deidentification_glove',
10634+
'en.deid.generic_optimized.pipeline': 'clinical_deidentification_generic_optimized',
10635+
'en.deid.subentity_optimized.pipeline': 'clinical_deidentification_subentity_optimized',
1063410636
'en.deid.med_ner_large.pipeline': 'ner_deid_sd_large_pipeline',
1063510637
'en.deid.ner_augmented.pipeline': 'ner_deid_augmented_pipeline',
1063610638
'en.deid.ner_biobert.pipeline': 'ner_deid_biobert_pipeline',

nlu/universe/annotator_class_universe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class AnnoClassRef:
207207
A_N.PARTIAL_EntityRulerApproach: 'EntityRulerApproach',
208208
A_N.PARTIAL_EntityRulerModel: 'EntityRulerModel',
209209
A_N.PARTIAL_TextMatcherModel: 'TextMatcherModel',
210+
A_N.PARTIAL_TextMatcherInternalModel: 'TextMatcherInternalModel',
210211
A_N.PARTIAL_BigTextMatcher: 'BigTextMatcher',
211212
A_N.PARTIAL_BigTextMatcherModel: 'BigTextMatcherModel',
212213
A_N.PARTIAL_DateMatcher: 'DateMatcher',

nlu/universe/component_universes.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,23 @@ class ComponentUniverse:
790790
output_context=ComputeContexts.spark,
791791
),
792792

793+
A.PARTIAL_TextMatcherInternalModel: partial(NluComponent,
794+
name=A.PARTIAL_ChunkMergeApproach,
795+
jsl_anno_class_id=A.PARTIAL_TextMatcherInternalModel,
796+
jsl_anno_py_class=ACR.JSL_anno2_py_class[A.PARTIAL_TextMatcherInternalModel],
797+
node=NLP_FEATURE_NODES.nodes[A.PARTIALLY_IMPLEMENTED],
798+
type=T.PARTIALLY_READY,
799+
pdf_extractor_methods={'default': default_partial_implement_config,
800+
'default_full': default_full_config, },
801+
pdf_col_name_substitutor=partially_implemented_substitutor,
802+
output_level=L.DOCUMENT,
803+
description='Not fully integrated',
804+
provider=ComponentBackends.open_source,
805+
license=Licenses.open_source,
806+
computation_context=ComputeContexts.spark,
807+
output_context=ComputeContexts.spark,
808+
),
809+
793810
A.PARTIAL_BigTextMatcher: partial(NluComponent,
794811
name=A.PARTIAL_ChunkMergeApproach,
795812
jsl_anno_class_id=A.PARTIAL_BigTextMatcher,

nlu/universe/feature_node_ids.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,10 @@ class NLP_NODE_IDS:
212212
PARTIAL_EntityRulerApproach = JslAnnoId('PARTIAL_EntityRulerApproach')
213213
PARTIAL_EntityRulerModel = JslAnnoId('PARTIAL_EntityRulerModel')
214214
PARTIAL_TextMatcherModel = JslAnnoId('PARTIAL_TextMatcherModel')
215+
PARTIAL_TextMatcherModel = JslAnnoId('PARTIAL_TextMatcherModel')
215216
PARTIAL_BigTextMatcher = JslAnnoId('PARTIAL_BigTextMatcher')
216217
PARTIAL_BigTextMatcherModel = JslAnnoId('PARTIAL_BigTextMatcherModel')
218+
PARTIAL_TextMatcherInternalModel = JslAnnoId('PARTIAL_TextMatcherInternalModel')
217219
PARTIAL_DateMatcher = JslAnnoId('PARTIAL_DateMatcher')
218220
PARTIAL_MultiDateMatcher = JslAnnoId('PARTIAL_MultiDateMatcher')
219221
PARTIAL_RegexMatcher = JslAnnoId('PARTIAL_RegexMatcher')

0 commit comments

Comments
 (0)