Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JohnSnowLabs/nlu
/ functions
Functions
1,193 in github.com/JohnSnowLabs/nlu
⨍
Functions
1,193
◇
Types & classes
281
↳
Endpoints
1
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/token_longformer/token_longformer.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/token_bert/token_bert.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/image_classification_vit/vit_image_classifier.py:14
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/image_classification_vit/convnext_image_classification.py:14
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/span_roberta/span_roberta.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/bart_zero_shot_classification/bart_zero_shot.py:13
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/seq_camembert/seq_camembert.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/asr_hubert/hubert.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/image_classification_swin/swin.py:14
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/classifier_dl/classifier_dl.py:10
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/classifiers/seq_distilbert_medical/seq_distilbert_medical_classifier.py:7
Method
get_pretrained_model
(name,lang, bucket=None)
nlu/components/sentence_detectors/deep_sentence_detector/deep_sentence_detector.py:13
Method
get_pretrained_model
(name, language, bucket='clinical/models')
nlu/components/resolutions/sentence_entity_resolver/sentence_resolver.py:10
Method
get_pretrained_model
(name, language, bucket='clinical/models')
nlu/components/resolutions/chunk_entity_resolver/chunk_resolver.py:5
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/lemmatizers/lemmatizer/spark_nlp_lemmatizer.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/med_summarizer/med_summarizer.py:8
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/bart_transformer/bart_transformer.py:8
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/m2m100_transformer/m2m100_transformer.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/med_text_generator/med_text_generator.py:8
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/marian/marian.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/openai_completion/openai_completion.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/gpt2/gpt2.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/seq2seqs/tapas_qa/tapas_qa.py:12
Method
get_pretrained_model
(name, language, bucket='clinical/models')
nlu/components/relation_extractors/relation_extractor_dl/relation_extractor_dl.py:13
Method
get_pretrained_model
(name, language, bucket='clinical/models')
nlu/components/relation_extractors/relation_extractor/relation_extractor.py:10
Method
get_pretrained_model
(name, language, bucket='clinical/models')
nlu/components/relation_extractors/zero_shot_relation_extractor/zero_shot_relation_extractor.py:13
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/matchers/regex_matcher/regex_matcher.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/matchers/text_matcher/text_matcher.py:12
Method
get_pretrained_model
(name, language, bucket='clinical/models')
nlu/components/deidentifiers/deidentifier/deidentifier.py:12
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/stopwordscleaners/stopwordcleaner/nlustopwordcleaner.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/normalizers/normalizer/spark_nlp_normalizer.py:11
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/chunkers/chunk_mapper/chunk_mapper.py:10
Method
get_pretrained_model
(name, language, bucket=None)
nlu/components/coref/coref_bert/coref_bert.py:12
Function
get_sample_pdf_with_extra_cols_and_entities
()
tests/utils/test_utils.py:89
Function
get_sample_pdf_with_labels
()
tests/utils/test_utils.py:44
Function
get_sample_sdf
()
tests/utils/test_utils.py:53
Method
get_trainable_model
()
nlu/components/embeddings/word2vec/word2vec.py:17
Method
get_trainable_model
()
nlu/components/classifiers/classifier_dl/classifier_dl.py:19
Method
get_trainable_model
()
nlu/components/deidentifiers/deidentifier/deidentifier.py:20
Method
get_trainable_model
()
nlu/components/chunkers/contextual_parser/contextual_parser.py:11
Method
glob_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/audio_data_conversion_utils.py:84
Function
h
()
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
Function
handleKeyup
(e)
docs/_includes/scripts/lib/modal.js:48
Function
handleModalChange
(visible)
docs/_includes/scripts/components/lightbox.js:39
Function
handleModalChange
(visible)
docs/_includes/scripts/components/search.js:25
Method
has_component_storage_ref_or_anno_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:39
Function
healthcare_version_is_missmatch
Check if installed Spark NLP healthcare version is the same as the Healthcare secret :param secret_version: healthcare secret version :return:
nlu/utils/environment/authentication.py:25
Function
increase
(key, title, callback)
docs/_includes/pageview-providers/leancloud/leancloud.js:54
Function
is_authorized_environment
Check if auth secrets are set in environment
nlu/utils/environment/authentication.py:232
Method
is_converter_component_resolution_reference
(reference: str)
nlu/pipe/utils/pipe_utils.py:368
Function
is_env_pyspark_2_x
()
nlu/utils/environment/env_utils.py:50
Function
is_env_pyspark_3_2
()
nlu/utils/environment/env_utils.py:23
Method
is_leaf_node
Check if a component_to_resolve is a leaf in the DAG. We verify by checking if any other_c is feeding from os_components. If yes, it i
nlu/pipe/utils/pipe_utils.py:549
Method
is_matching_level
Check for embedding consumer if input level matches up outputlevel of consumer
nlu/pipe/pipe_logic.py:655
Method
is_storage_ref_match
Check for 2 components, if one provides the embeddings for the other. Makes sure that pipe_prediction_output_level matches up (chunk/sent/tok/embeds)
nlu/pipe/pipe_logic.py:624
Method
list_all_components_of_language
(component_lang='ger')
nlu/info.py:81
Method
list_all_components_of_languageand_type
(component_lang='ger', component_type='embeddings')
nlu/info.py:85
Method
list_all_components_of_type
(self, component_type='embeddings')
nlu/info.py:77
Method
list_avaiable_output_types
()
nlu/info.py:93
Function
load
Load either a prebuild pipeline or a set of components identified by a whitespace seperated list of components You must call nlu.auth() BEFOR
nlu/__init__.py:179
Method
loadSavedModel
(ner_model_path, folder, spark_session)
nlu/finance.py:128
Method
load_pandas_dataset
(self)
tests/nlu_core_tests/pandas_tests.py:98
Function
me
()
docs/assets/plugins/jquery-3.6.0.min.js:2
Function
meta_NER_config
Extracts NER tokens withouth positions, just the IOB tags,confidences and classified tokens
nlu/pipe/extractors/extractor_configs_OS.py:98
Function
meta_extract_language_classifier_max_confidence
Extract the language classificationw ith highest confidence and drop the others
nlu/pipe/extractors/extractor_methods/helper_extractor_methods.py:13
Function
modal
(options)
docs/_includes/scripts/lib/modal.js:7
Function
model_id
(model_to_test: NluTest)
tests/base_model_test.py:6
Function
ne
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
Method
nlu_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:62
Function
nlu_ref_to_nlp_ref
(nlu_ref)
nlu/pipe/utils/resolution/nlu_ref_utils.py:46
Method
normalize_matrix
(m)
nlu/pipe/viz/streamlit_viz/viz_building_blocks/word_similarity.py:155
Function
ocr_version_is_missmatch
Check if installed OCR version is the same as the OCR secret :param secret_version: ocr secret version :return: True if missmatch, False if ve
nlu/utils/environment/authentication.py:9
Function
oe
()
docs/assets/plugins/jquery-3.6.0.min.js:2
Function
onInputNotEmpty
(val)
docs/_includes/search-providers/default/search.js:82
Function
one_test_per_lib
()
tests/base_model_test.py:14
Function
pad_same_level_cols
We must ensure that the cols which are going to be exploded have all the same amount of elements. To ensure this, we apply this methods on the col
nlu/pipe/extractors/extractor_methods/base_extractor_methods.py:351
Function
pageview
(_AV ,options)
docs/_includes/pageview-providers/leancloud/leancloud.js:9
Function
partially_implemented_substitutor
Fetched fields are: - entities@<storage_ref>_results - entities@<storage_ref>_<metadata> - entities@<storage_ref>_entity
nlu/pipe/col_substitution/col_substitution_OS.py:11
Method
printPipelineSchema
(self)
nlu/pipe/pipeline.py:1067
Function
print_all_languages
Print all languages which are available in NLU Spark NLP pointer
nlu/__init__.py:444
Function
print_all_model_kinds_for_action
(action)
nlu/__init__.py:466
Function
print_all_model_kinds_for_action_and_lang
(lang, action)
nlu/__init__.py:470
Function
print_all_nlu_components_for_lang
Print all NLU components available for a language Spark NLP pointer
nlu/__init__.py:449
Function
print_component_types
Prints all unique component_to_resolve types in NLU
nlu/__init__.py:461
Function
print_components
Print every single NLU reference for models and pipeliens and their Spark NLP pointer :param lang: Language requirements for the components filter
nlu/__init__.py:454
Function
print_trainable_components
Print every trainable Algorithm/Model
nlu/__init__.py:474
Method
pythonify_spark_ocr_dataframe
(self, processed, output_path=[], file_paths=[])
nlu/pipe/pipeline.py:315
Function
qe
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
Method
resolve_nlu_ref_to_dataset
(self,nlu_ref)
tests/datasets/dataset_downloader.py:64
Function
resolver_conifg_with_metadata
(output_col_prefix='DEFAULT')
nlu/pipe/extractors/extractor_configs_HC.py:113
Method
return_json_entry
Resolves a Json entry for annlu_refrence. :param nlu_ref: What nlp_refrence to resolve :return: Json entry of that nlu reference
nlu/utils/modelhub/modelhub_utils.py:67
Function
scrollToAnchor
(anchor, duration, callback)
docs/_includes/scripts/lib/scroll-to.js:4
Method
sdf_to_pdf
(data, raw_text_column)
nlu/pipe/utils/data_conversion_utils.py:397
Function
serialize
(img_path)
nlu/pipe/utils/predict_helper.py:27
Method
setConfigProtoBytes
Sets configProto from tensorflow, serialized into byte array. Parameters ---------- b : List[str] ConfigProto fro
nlu/finance.py:67
Method
setInferenceBatchSize
Sets number of sentences to process in a single batch during inference Parameters ---------- value : int number of
nlu/finance.py:99
Method
setLabelCasing
Setting all labels of the NER models upper/lower case. values upper|lower Parameters ---------- value : str Settin
nlu/finance.py:109
Method
set_column_values_on_components_from_pretrained_pipe_from_disk_data
Since output/input cols cannot be fetched from Annotators via get input/output col reliably, we must check annotator data to find them Expects
nlu/pipe/utils/pipe_utils.py:129
Function
set_dataset_directory
()
tests/datasets/dataset_downloader.py:72
Method
set_output
(self, output_cols: Union[str, List[str]])
nlu/pipe/nlu_component.py:175
← previous
next →
901–1,000 of 1,193, ranked by callers