MCPcopy Index your code

hub / github.com/JohnSnowLabs/nlu / functions

Functions1,193 in github.com/JohnSnowLabs/nlu

↓ 4 callersFunctionto_nlu_pipe
Convert a pipeline or list which contains sparknlp/sparknlp_jsl annotators into NLU pipeline, while maintaining original configuration. T
nlu/__init__.py:160
↓ 4 callersFunctionue
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersFunctionEe
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersFunctionFt
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersMethodNLU_ref_to_NLP_ref
Resolve a Spark NLU reference to a NLP reference. :param nlu_ref: which nlu model_anno_obj's nlp refrence to return. :param lang: what
nlu/utils/modelhub/modelhub_utils.py:14
↓ 3 callersFunctionQe
(e,t,n,r,i,o)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersFunction__predict_standard_spark
(pipe, data, output_level, positions, keep_stranger_features, metadata, drop_irre
nlu/pipe/utils/predict_helper.py:76
↓ 3 callersFunctionanno_class_to_empty_component
For a given anno-class returns NLU-Component which wraps the corresponding pipe class but has no model_anno_obj yet loaded onto it. :para
nlu/universe/component_universes.py:186
↓ 3 callersFunctionauthenticate_enviroment_HC
Set Secret environ variables for Spark Context
nlu/utils/environment/authentication.py:149
↓ 3 callersFunctionboth
(val)
docs/assets/plugins/jquery-scrollTo/jquery.scrollTo.js:182
↓ 3 callersMethodcheck_iterable_paths_are_valid
Validate for iterable data input if all elements point to file or jsl_folder
nlu/pipe/utils/ocr_data_conversion_utils.py:33
↓ 3 callersMethodcheck_iterable_paths_are_valid
Validate for iterable data input if all elements point to file or jsl_folder
nlu/pipe/utils/audio_data_conversion_utils.py:35
↓ 3 callersMethodconfigure_component_output_levels
This method configures sentenceEmbeddings and Classifier components to output at a specific level. Generally this substitutes all `se
nlu/pipe/utils/pipe_utils.py:487
↓ 3 callersFunctiondefault_only_embedding_config
(output_col_prefix)
nlu/pipe/extractors/extractor_configs_OS.py:149
↓ 3 callersFunctionfe
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersMethodfind_embed_component
Find first embed component_to_resolve in component_list
nlu/pipe/viz/streamlit_viz/viz_building_blocks/block_utils/entity_manifold_utils.py:112
↓ 3 callersFunctiongetParent
($this)
docs/assets/plugins/bootstrap/js/bootstrap.js:768
↓ 3 callersMethodget_classifier_cols
(pipe)
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:15
↓ 3 callersMethodget_component_idx_by_id
Find first occurrence of component in pipe by ID and returns index
nlu/pipe/utils/pipe_utils.py:453
↓ 3 callersMethodget_hc_pyclass_2_anno_id_dict
()
nlu/universe/annotator_class_universe.py:339
↓ 3 callersMethodget_os_pyclass_2_anno_id_dict
()
nlu/universe/annotator_class_universe.py:332
↓ 3 callersMethodget_pretrained_model
(name, language,bucket=None)
nlu/components/seq2seqs/t5/t5.py:11
↓ 3 callersFunctionh
(a)
docs/assets/plugins/jquery-scrollTo/jquery.scrollTo.min.js:7
↓ 3 callersMethodis_trainable_pipe
Check if component_list is trainable
nlu/pipe/utils/pipe_utils.py:195
↓ 3 callersFunctionj
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersMethodload_sentiment_dl_dataset
(self)
tests/nlu_core_tests/training_tests/sentiment_dl_tests.py:107
↓ 3 callersFunctionmodel_and_output_levels_test
(nlu_ref, lang, test_group=None, output_levels=None, input_data_type='generic',
tests/utils/test_utils.py:163
↓ 3 callersFunctionmoveToIndex
(index ,params)
docs/_includes/scripts/lib/swiper.js:81
↓ 3 callersMethodnlp_extract_storage_ref_nlp_model
Extract storage ref from a NLU component_to_resolve which embellished a Spark NLP Annotator
nlu/pipe/utils/resolution/storage_ref_utils.py:74
↓ 3 callersFunctionp
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersMethodpredict_embeds
Annotates a Pandas Dataframe/Pandas Series/Numpy Array/Spark DataFrame/Python List strings /Python String abd returns List of Floats or Spark
nlu/pipe/pipeline.py:543
↓ 3 callersMethodquestion_pdf_to_sdf
Casting question pandas to spark and add index col
nlu/pipe/utils/data_conversion_utils.py:181
↓ 3 callersMethodquestion_sdf_to_sdf
Casting question pandas to spark and add index col
nlu/pipe/utils/data_conversion_utils.py:85
↓ 3 callersMethodquestion_str_iterable_to_sdf
Casting str to spark and add index col. This is a bit inefficient. Casting follow # inefficient, str->pd->spark->pd , we can could first pd
nlu/pipe/utils/data_conversion_utils.py:144
↓ 3 callersMethodquestion_tuple_iterable_to_sdf
Casting str to spark and add index col. This is a bit inefficient. Casting follow # inefficient, str->pd->spark->pd , we can could first pd
nlu/pipe/utils/data_conversion_utils.py:126
↓ 3 callersFunctionsetState
($item, zoom, translate)
docs/_includes/scripts/lib/gallery.js:12
↓ 3 callersFunctionsetState
(isShow)
docs/_includes/scripts/lib/modal.js:19
↓ 3 callersMethodto_spark_df
Convert supported datatypes to SparkDF and extract extra data for prediction later on.
nlu/pipe/utils/data_conversion_utils.py:298
↓ 3 callersFunctionvt
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersFunctionwe
(i)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 3 callersFunctionze
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionFe
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionI
(e,t,n,r)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionIt
(o)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionJe
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionLe
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionMe
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionO
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionOe
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionWt
(t,i,o,a)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionZ
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunction_update
(event)
docs/assets/plugins/jquery-match-height/jquery.matchHeight.js:247
↓ 2 callersFunctionaddIcon
(el, entity)
docs/assets/plugins/elegant_font/css/lte-ie7.js:4
↓ 2 callersMethodadd_metadata_to_pipe
Write metadata fields to pipeline, for now only whether it contains OCR components or not. To be extended in the future
nlu/pipe/utils/pipe_utils.py:663
↓ 2 callersFunctionanimate
(callback)
docs/assets/plugins/jquery-scrollTo/jquery.scrollTo.js:150
↓ 2 callersFunctionapply_extractors_and_merge
apply extract_master on all fields with corrosponding configs after converting Pyspark Rows to List[Dict] and merge them to a final DF (1 to 1 ma
nlu/pipe/extractors/extractor_methods/base_extractor_methods.py:326
↓ 2 callersFunctionat
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionauthenticate_enviroment_OCR
Set Secret environ variables for Spark Context
nlu/utils/environment/authentication.py:156
↓ 2 callersFunctionb
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionbuttonFocus
(target)
docs/_includes/scripts/archieve.js:70
↓ 2 callersFunctionc
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctionc
()
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 2 callersFunctioncomplete
()
docs/assets/plugins/bootstrap/js/bootstrap.js:610
↓ 2 callersMethodconfigure_component_output_levels_to_document
Configure component_list components to output level document. Substitute every occurence of <sentence> to <document> for every component_to_r
nlu/pipe/utils/pipe_utils.py:399
↓ 2 callersFunctioncreateNode
(name, attrs)
docs/_includes/scripts/lib/lazyload.js:58
↓ 2 callersFunctioncreate_dataset_dir_if_not_exist_and_get_path
()
tests/utils/test_utils.py:136
↓ 2 callersFunctiondisabled
()
docs/_includes/scripts/aside/toc.js:14
↓ 2 callersMethoddisplay_word_similarity
( pipe, # nlu component_list default_texts: Tuple[str, str] = ("Donald Trump likes to
nlu/pipe/viz/streamlit_viz/streamlit_dashboard_OS.py:304
↓ 2 callersMethodenforce_NLU_columns_to_NLP_columns
for every component_to_resolve, set its inputs and outputs to the ones configured on the NLU component_to_resolve.
nlu/pipe/utils/pipe_utils.py:340
↓ 2 callersMethodexcept_infinity_loop
(reason)
nlu/pipe/pipe_logic.py:290
↓ 2 callersMethodextract_iterable_paths_from_data
Extract an iterable object containing paths from input data
nlu/pipe/utils/ocr_data_conversion_utils.py:80
↓ 2 callersMethodfind_embed_col
Find col that contains embed
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:30
↓ 2 callersFunctionge
(t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 2 callersFunctiongetRect
(touch0, touch1)
docs/_includes/scripts/lib/gallery.js:76
↓ 2 callersFunctiongetTargetFromTrigger
($trigger)
docs/assets/plugins/bootstrap/js/bootstrap.js:689
↓ 2 callersFunctiongetTouches
(e)
docs/_includes/scripts/lib/gallery.js:86
↓ 2 callersFunctiongetTouchesCount
(e)
docs/_includes/scripts/lib/gallery.js:89
↓ 2 callersFunctiongetTranslateXFromCurIndex
()
docs/_includes/scripts/lib/swiper.js:77
↓ 2 callersFunctionget_authenticated_spark_HC
(HC_LICENSE, HC_SECRET, AWS_ACCESS_KEY, AWS_SECRET_KEY, gpu)
nlu/utils/environment/authentication.py:169
↓ 2 callersFunctionget_authenticated_spark_HC_and_OCR
(HC_LICENSE, HC_SECRET, OCR_LICENSE, OCR_SECRET, AWS_ACCESS_KEY, AWS_SECRET_KEY,
nlu/utils/environment/authentication.py:196
↓ 2 callersFunctionget_authenticated_spark_OCR
(OCR_LICENSE, OCR_SECRET, AWS_ACCESS_KEY, AWS_SECRET_KEY, gpu)
nlu/utils/environment/authentication.py:184
↓ 2 callersMethodget_final_output_cols_of_component
Get's a list of all columns that have been derived in the pythonify procedure from the component_to_resolve os_components in dataframe df for
nlu/pipe/col_substitution/col_name_substitution_utils.py:121
↓ 2 callersMethodget_model_of_class_from_spark_pipe
(spark_transformer_pipe, class_name)
nlu/pipe/utils/pipe_utils.py:768
↓ 2 callersMethodget_nlu_ref_identifier
The tail of a NLU ref after splitting on '.' gives a unique identifier for NON-Aliased components If result is '' , model_anno_obj UID will b
nlu/pipe/utils/component_utils.py:222
↓ 2 callersFunctionget_sample_pdf_with_extra_cols
()
tests/utils/test_utils.py:59
↓ 2 callersFunctionget_sample_spark_dataframe
()
tests/utils/test_utils.py:79
↓ 2 callersFunctionget_trained_component_for_nlp_model_ref
(lang: str, nlu_ref: Optional[str] = '', nlp_ref: str = '', licens
nlu/pipe/component_resolution.py:279
↓ 2 callersMethodget_url_by_nlu_refrence
Resolves a URL for an NLU reference. :param nlu_ref: Which nlu refrence's url to return. :return: url to modelhub
nlu/utils/modelhub/modelhub_utils.py:41
↓ 2 callersMethodglob_files_of_accepted_type
Get all paths which point to correct file types from iterable paths which can contain file and jsl_folder paths 1. paths point to a file which
nlu/pipe/utils/ocr_data_conversion_utils.py:55
↓ 2 callersFunctionhandleTouchend
()
docs/_includes/scripts/lib/swiper.js:147
↓ 2 callersMethodhas_sentence_detector
Check for NLUPipeline if it contains sentence detector
nlu/pipe/utils/pipe_utils.py:433
↓ 2 callersMethodhas_table_extractor
Check for NLUPipieline if it contains any table extracting OCR component
nlu/pipe/utils/pipe_utils.py:444
↓ 2 callersFunctionincrement
(result)
docs/_includes/pageview-providers/leancloud/leancloud.js:39
↓ 2 callersFunctioninit
()
docs/_includes/scripts/lib/toc.js:67
↓ 2 callersFunctioninit
()
docs/_includes/scripts/lib/affix.js:68
↓ 2 callersFunctioninit_component
(component)
nlu/pipe/component_resolution.py:24
↓ 2 callersFunctionisWin
(elem)
docs/assets/plugins/jquery-scrollTo/jquery.scrollTo.js:35
↓ 2 callersMethodis_embedding_consumer
Check if a NLU Component consumes embeddings
nlu/pipe/utils/component_utils.py:115
↓ 2 callersFunctionis_env_pyspark_3_x
()
nlu/utils/environment/env_utils.py:54
↓ 2 callersFunctionje
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
← previousnext →101–200 of 1,193, ranked by callers