Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/JohnSnowLabs/nlu
/ functions
Functions
1,193 in github.com/JohnSnowLabs/nlu
⨍
Functions
1,193
◇
Types & classes
281
↳
Endpoints
1
↓ 278 callers
Function
$
(e,t,n,r,i,o,a)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 233 callers
Method
pretrained
(name="ner_dl", lang="en", remote_loc=None)
nlu/finance.py:123
↓ 107 callers
Function
a
(t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 77 callers
Method
predict
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 callers
Method
add
:param component: :return: None
nlu/pipe/pipeline.py:66
↓ 41 callers
Function
m
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 39 callers
Function
S
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 29 callers
Method
extract_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 callers
Method
fit
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 callers
Function
default_only_result_config
(output_col_prefix)
nlu/pipe/extractors/extractor_configs_OS.py:129
↓ 21 callers
Function
t
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 21 callers
Function
ve
(a)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 19 callers
Function
d
(b)
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 19 callers
Method
set_metadata
Write metadata to nlu component_to_resolve after constructing it
nlu/pipe/nlu_component.py:124
↓ 16 callers
Function
le
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 15 callers
Function
is_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 callers
Function
l
(i,o,a,s)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 13 callers
Function
h
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 12 callers
Function
A
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 12 callers
Method
clean_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 callers
Method
viz
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 callers
Function
callback
()
docs/assets/plugins/bootstrap/js/bootstrap.js:58
↓ 11 callers
Function
ce
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 11 callers
Function
s
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 10 callers
Function
_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 callers
Function
b
()
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 10 callers
Function
e
()
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 10 callers
Method
get_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 callers
Method
get_default_model
()
nlu/components/seq2seqs/t5/t5.py:5
↓ 10 callers
Method
validate_conversion_result
(self, spark_df)
tests/nlu_core_tests/component_tests/span_question_data_conversion_tests.py:19
↓ 9 callers
Function
T
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 9 callers
Method
display_footer
()
nlu/pipe/viz/streamlit_viz/streamlit_viz_tracker.py:81
↓ 9 callers
Method
display_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 callers
Method
get_manifold_algo
(algo, dim, n_jobs=None)
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:102
↓ 9 callers
Function
has_empty_strings
Check for a given list of strings, whether it has any empty strings or not
nlu/utils/environment/authentication.py:252
↓ 9 callers
Function
jsl_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 callers
Method
show_logo
(sidebar=True)
nlu/pipe/viz/streamlit_viz/streamlit_viz_tracker.py:94
↓ 9 callers
Function
try_import_streamlit
()
nlu/utils/environment/env_utils.py:80
↓ 8 callers
Function
X
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 8 callers
Function
calc
()
docs/_includes/scripts/lib/toc.js:21
↓ 8 callers
Method
get_pipe
(model='ner')
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:125
↓ 8 callers
Function
next
()
docs/assets/plugins/bootstrap/js/bootstrap.js:2117
↓ 7 callers
Function
P
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 7 callers
Method
except_invalid_question_data_format
(cols)
nlu/pipe/utils/data_conversion_utils.py:33
↓ 7 callers
Function
get_pyspark_major_and_minor
()
nlu/utils/environment/env_utils.py:12
↓ 7 callers
Function
gt
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 7 callers
Function
ht
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 7 callers
Function
move
(type)
docs/_includes/scripts/lib/swiper.js:88
↓ 7 callers
Method
save
(self, path, component='entire_pipeline', overwrite=True)
nlu/pipe/pipeline.py:482
↓ 7 callers
Method
setIncludeConfidence
Sets whether to include confidence scores in annotation metadata, by default False. Parameters ---------- value : boo
nlu/finance.py:77
↓ 6 callers
Method
Tracer
(self)
nlu/pipe/pipeline.py:1057
↓ 6 callers
Method
extract_embed_col
Extract the exact name of the embed column in the component_to_resolve
nlu/pipe/utils/component_utils.py:173
↓ 6 callers
Method
extract_name
(component_or_pipe)
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:67
↓ 6 callers
Function
get_component_list_for_iterable_stages
(iterable_stages, language=None, nlp_ref=None, nlu_ref=None, is_pre
nlu/pipe/component_resolution.py:263
↓ 6 callers
Function
i
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callers
Method
print_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 callers
Function
se
(t,e,n,r)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callers
Function
x
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callers
Function
xe
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 6 callers
Function
ye
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callers
Function
He
(n,r,i,o)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callers
Function
V
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callers
Function
We
(e,t,n)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callers
Function
_parse
(value)
docs/assets/plugins/jquery-match-height/jquery.matchHeight.js:58
↓ 5 callers
Method
except_text_col_not_found
(cols)
nlu/pipe/utils/data_conversion_utils.py:28
↓ 5 callers
Method
extract_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 callers
Function
f
()
docs/assets/plugins/bootstrap/js/bootstrap.min.js:7
↓ 5 callers
Method
find_all_embed_components
Find ALL embed component_to_resolve in component_list
nlu/pipe/viz/streamlit_viz/streamlit_utils_OS.py:58
↓ 5 callers
Function
g
(b)
docs/assets/plugins/bootstrap/js/bootstrap.min.js:6
↓ 5 callers
Function
get_code_for_viz
Generate code sample for displaying how to generate visualization
nlu/pipe/viz/streamlit_viz/gen_streamlit_code.py:32
↓ 5 callers
Function
h
(a)
docs/assets/plugins/jquery-match-height/jquery.matchHeight-min.js:6
↓ 5 callers
Function
ie
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 5 callers
Function
import_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 callers
Function
n
(a)
docs/assets/plugins/jquery-scrollTo/jquery.scrollTo.min.js:7
↓ 5 callers
Method
print_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 callers
Method
resolve_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 callers
Function
w
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callers
Function
Re
(e)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callers
Function
Se
(e,i,o)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callers
Function
Te
(e,t,n,r,i)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callers
Function
__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 callers
Function
ae
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callers
Function
be
(s,e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
↓ 4 callers
Function
calc
(needPreCalc)
docs/_includes/scripts/lib/affix.js:26
↓ 4 callers
Method
check_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 callers
Method
deduct_name_from_nlu_ref_at_depth
(c, depth=1)
nlu/pipe/col_substitution/col_name_substitution_utils.py:249
↓ 4 callers
Method
extract_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 callers
Method
get_ocr_pyclass_2_anno_id_dict
()
nlu/universe/annotator_class_universe.py:346
↓ 4 callers
Function
get_pyspark_version
()
nlu/utils/environment/env_utils.py:7
↓ 4 callers
Function
get_sample_pdf
()
tests/utils/test_utils.py:32
↓ 4 callers
Function
get_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 callers
Method
has_component_with_id
Check for NLUPipeline if it contains component with id
nlu/pipe/utils/pipe_utils.py:424
↓ 4 callers
Method
has_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 callers
Method
is_embedding_provider
Check if a NLU Component returns/generates embeddings
nlu/pipe/utils/component_utils.py:110
↓ 4 callers
Method
print_exception_err
Print information about exception during converting or transforming dataframe
nlu/pipe/pipeline.py:616
↓ 4 callers
Method
pythonify_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 callers
Function
resolve_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 callers
Function
setState
(element, disabled)
docs/_includes/scripts/lib/toc.js:27
↓ 4 callers
Function
setState
()
docs/_includes/scripts/lib/affix.js:58
↓ 4 callers
Function
st
(e,t)
docs/assets/plugins/jquery-3.6.0.min.js:2
next →
1–100 of 1,193, ranked by callers