nlp_resource_downloader: SparkNLP ResourceDownloader functions

nlp_resource_downloaderR Documentation

SparkNLP ResourceDownloader functions

Description

ResourceDownloader provides functions to easily look for pretrained models & pipelines inside Spark NLP. You can filter models or pipelines via language, version, or the name of the annotator

Usage

nlp_show_public_pipelines(sc, lang = NULL, version = NULL)

nlp_show_public_models(sc, annotator = NULL, lang = NULL, version = NULL)

nlp_clear_cache(sc, name = NULL, language = NULL, remote_loc = NULL)

nlp_show_available_annotators(sc)

Arguments

sc

a spark_connect object

lang

language to restrict the results to

version

Spark NLP version to restrict results to

annotator

name of annotator to restrict results

name

name of object to clear

language

language to clear

remote_loc

remote_loc of models to clear

Value

a markdown table containing the models or pipelines filtered by the provided arguments


r-spark/sparknlp documentation built on Oct. 15, 2022, 10:50 a.m.