MCPcopy Index your code

hub / github.com/JohnSnowLabs/nlu / functions

Functions1,193 in github.com/JohnSnowLabs/nlu

↓ 278 callersFunction$
(e,t,n,r,i,o,a)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 233 callersMethodpretrained
(name="ner_dl", lang="en", remote_loc=None)
nlu/finance.py:123
↓ 107 callersFunctiona
(t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 77 callersMethodpredict
Annotates a Pandas Dataframe/Pandas Series/Numpy Array/Spark DataFrame/Python List strings /Python String :param data: Data to predi
nlu/pipe/pipeline.py:502
↓ 46 callersMethodadd
:param component: :return: None
nlu/pipe/pipeline.py:66
↓ 41 callersFunctionm
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 39 callersFunctionS
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 29 callersMethodextract_storage_ref
Extract storage ref from either a NLU component_to_resolve or NLP Annotator. First checks if annotator has storage ref, otherwise check NLU at
nlu/pipe/utils/resolution/storage_ref_utils.py:18
↓ 27 callersMethodfit
if dataset is string with '/' in it, its dataset path! Converts the input Pandas Dataframe into a Spark Dataframe and trains a model
nlu/pipe/pipeline.py:111
↓ 23 callersFunctiondefault_only_result_config
(output_col_prefix)
nlu/pipe/extractors/extractor_configs_OS.py:129
↓ 21 callersFunctiont
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 21 callersFunctionve
(a)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 19 callersFunctiond
(b)
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 19 callersMethodset_metadata
Write metadata to nlu component_to_resolve after constructing it
nlu/pipe/nlu_component.py:124
↓ 16 callersFunctionle
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 15 callersFunctionis_running_in_databricks_runtime
Check if the currently running Python Process is running in Databricks runtime or not
nlu/utils/environment/env_utils.py:87
↓ 14 callersFunctionl
(i,o,a,s)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 13 callersFunctionh
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 12 callersFunctionA
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 12 callersMethodclean_irrelevant_features
Remove irrelevant features from a list of component_to_resolve features Also remove the @notation from names, since they are irreleva
nlu/pipe/utils/component_utils.py:32
↓ 12 callersMethodviz
Visualize predictions of a Pipeline, using Spark-NLP-Display text_to_viz : String to viz viz_type : Viz type, one of [ner,dep,resol
nlu/pipe/pipeline.py:637
↓ 11 callersFunctioncallback
()
docs/assets/plugins/bootstrap/js/bootstrap.js:58
↓ 11 callersFunctionce
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 11 callersFunctions
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 10 callersFunction_set_block_container_style
( max_width: int = 1200, max_width_100_percent: bool = True, set_colors : bool = False
nlu/pipe/viz/streamlit_viz/styles.py:2
↓ 10 callersFunctionb
()
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 10 callersFunctione
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 10 callersMethodget_components
Filter all NLU components m_type : Component/Model type to filter for include_pipes : Weather to include pipelines in the result or n
nlu/discovery.py:13
↓ 10 callersMethodget_default_model
()
nlu/components/seq2seqs/t5/t5.py:5
↓ 10 callersMethodvalidate_conversion_result
(self, spark_df)
tests/nlu_core_tests/component_tests/span_question_data_conversion_tests.py:19
↓ 9 callersFunctionT
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 9 callersMethoddisplay_footer
()
nlu/pipe/viz/streamlit_viz/streamlit_viz_tracker.py:81
↓ 9 callersMethoddisplay_model_info
Display Links to Modelhub for every NLU Ref loaded and also every component_to_resolve in component_list
nlu/pipe/viz/streamlit_viz/streamlit_viz_tracker.py:113
↓ 9 callersMethodget_manifold_algo
(algo, dim, n_jobs=None)
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:102
↓ 9 callersFunctionhas_empty_strings
Check for a given list of strings, whether it has any empty strings or not
nlu/utils/environment/authentication.py:252
↓ 9 callersFunctionjsl_id_to_empty_component
Get NLU component with given JSL-ID with no model_anno_obj loaded onto it :param jsl_id: identifier of component/pipe type :return: NluCo
nlu/universe/component_universes.py:203
↓ 9 callersMethodshow_logo
(sidebar=True)
nlu/pipe/viz/streamlit_viz/streamlit_viz_tracker.py:94
↓ 9 callersFunctiontry_import_streamlit
()
nlu/utils/environment/env_utils.py:80
↓ 8 callersFunctionX
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 8 callersFunctioncalc
()
docs/_includes/scripts/lib/toc.js:21
↓ 8 callersMethodget_pipe
(model='ner')
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:125
↓ 8 callersFunctionnext
()
docs/assets/plugins/bootstrap/js/bootstrap.js:2117
↓ 7 callersFunctionP
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 7 callersMethodexcept_invalid_question_data_format
(cols)
nlu/pipe/utils/data_conversion_utils.py:33
↓ 7 callersFunctionget_pyspark_major_and_minor
()
nlu/utils/environment/env_utils.py:12
↓ 7 callersFunctiongt
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 7 callersFunctionht
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 7 callersFunctionmove
(type)
docs/_includes/scripts/lib/swiper.js:88
↓ 7 callersMethodsave
(self, path, component='entire_pipeline', overwrite=True)
nlu/pipe/pipeline.py:482
↓ 7 callersMethodsetIncludeConfidence
Sets whether to include confidence scores in annotation metadata, by default False. Parameters ---------- value : boo
nlu/finance.py:77
↓ 6 callersMethodTracer
(self)
nlu/pipe/pipeline.py:1057
↓ 6 callersMethodextract_embed_col
Extract the exact name of the embed column in the component_to_resolve
nlu/pipe/utils/component_utils.py:173
↓ 6 callersMethodextract_name
(component_or_pipe)
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:67
↓ 6 callersFunctionget_component_list_for_iterable_stages
(iterable_stages, language=None, nlp_ref=None, nlu_ref=None, is_pre
nlu/pipe/component_resolution.py:263
↓ 6 callersFunctioni
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callersMethodprint_info
Print out information about every component_to_resolve currently loaded in the component_list and their configurable parameters. If m
nlu/pipe/pipeline.py:568
↓ 6 callersFunctionse
(t,e,n,r)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callersFunctionx
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callersFunctionxe
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callersFunctionye
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callersFunctionHe
(n,r,i,o)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callersFunctionV
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callersFunctionWe
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callersFunction_parse
(value)
docs/assets/plugins/jquery-match-height/jquery.matchHeight.js:58
↓ 5 callersMethodexcept_text_col_not_found
(cols)
nlu/pipe/utils/data_conversion_utils.py:28
↓ 5 callersMethodextract_storage_ref_AT_notation_for_embeds
Extract <col>_embed_col@storage_ref notation from a component_to_resolve if it has a storage ref, otherwise ' :param component: To e
nlu/pipe/utils/component_utils.py:95
↓ 5 callersFunctionf
()
docs/assets/plugins/bootstrap/js/bootstrap.min.js:7
↓ 5 callersMethodfind_all_embed_components
Find ALL embed component_to_resolve in component_list
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:58
↓ 5 callersFunctiong
(b)
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 5 callersFunctionget_code_for_viz
Generate code sample for displaying how to generate visualization
nlu/pipe/viz/streamlit_viz/gen_streamlit_code.py:32
↓ 5 callersFunctionh
(a)
docs/assets/plugins/jquery-match-height/jquery.matchHeight-min.js:6
↓ 5 callersFunctionie
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callersFunctionimport_or_install_licensed_lib
Install Spark-NLP-Healthcare PyPI Package in current environment if it cannot be imported and license provided
nlu/utils/environment/authentication.py:85
↓ 5 callersFunctionn
(a)
docs/assets/plugins/jquery-scrollTo/jquery.scrollTo.min.js:7
↓ 5 callersMethodprint_components
Print every single NLU reference for models and pipeliens and their Spark NLP pointer :param lang: Language requirements for the comp
nlu/discovery.py:84
↓ 5 callersMethodresolve_component_to_output_level
For a given NLU component_to_resolve, resolve its output level, by checking annotator_levels dicts for approaches and models
nlu/pipe/utils/output_level_resolution_utils.py:63
↓ 5 callersFunctionw
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callersFunctionRe
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callersFunctionSe
(e,i,o)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callersFunctionTe
(e,t,n,r,i)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callersFunction__predict__
Annotates a Pandas Dataframe/Pandas Series/Numpy Array/Spark DataFrame/Python List strings /Python String :param data: Data to predict on
nlu/pipe/utils/predict_helper.py:294
↓ 4 callersFunctionae
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callersFunctionbe
(s,e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callersFunctioncalc
(needPreCalc)
docs/_includes/scripts/lib/affix.js:26
↓ 4 callersMethodcheck_and_fix_nlu_pipeline
Check if the NLU pipeline is ready to transform data and return it. If all dependencies not satisfied, returns a new NLU pipeline where depend
nlu/pipe/pipe_logic.py:451
↓ 4 callersMethoddeduct_name_from_nlu_ref_at_depth
(c, depth=1)
nlu/pipe/col_substitution/col_name_substitution_utils.py:249
↓ 4 callersMethodextract_embed_level_identity
Figure out if component_to_resolve feeds on chunk/sent aka doc/word emb for either nput or output cols
nlu/pipe/utils/component_utils.py:197
↓ 4 callersMethodget_ocr_pyclass_2_anno_id_dict
()
nlu/universe/annotator_class_universe.py:346
↓ 4 callersFunctionget_pyspark_version
()
nlu/utils/environment/env_utils.py:7
↓ 4 callersFunctionget_sample_pdf
()
tests/utils/test_utils.py:32
↓ 4 callersFunctionget_trained_component_list_for_nlp_pipe_ref
creates a list of components from a Spark NLP Pipeline reference 1. download pipeline 2. unpack pipeline to annotators and create list of
nlu/pipe/component_resolution.py:180
↓ 4 callersMethodhas_component_with_id
Check for NLUPipeline if it contains component with id
nlu/pipe/utils/pipe_utils.py:424
↓ 4 callersMethodhas_storage_ref
Storage ref is either on the model_anno_obj or nlu component_to_resolve defined
nlu/pipe/utils/resolution/storage_ref_utils.py:13
↓ 4 callersMethodis_embedding_provider
Check if a NLU Component returns/generates embeddings
nlu/pipe/utils/component_utils.py:110
↓ 4 callersMethodprint_exception_err
Print information about exception during converting or transforming dataframe
nlu/pipe/pipeline.py:616
↓ 4 callersMethodpythonify_spark_dataframe
This functions takes in a spark dataframe with Spark NLP annotations in it and transforms it into a Pandas Dataframe with common feat
nlu/pipe/pipeline.py:327
↓ 4 callersFunctionresolve_feature
This function returns a default component_to_resolve for a missing component_to_resolve type and core part to the pipeline feature resolutio
nlu/pipe/component_resolution.py:38
↓ 4 callersFunctionsetState
(element, disabled)
docs/_includes/scripts/lib/toc.js:27
↓ 4 callersFunctionsetState
()
docs/_includes/scripts/lib/affix.js:58
↓ 4 callersFunctionst
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
next →1–100 of 1,193, ranked by callers