as_pipeline_model: Get the PipelineModel from a Spark NLP pretrained pipeline

View source: R/pretrained-pipeline.R

as_pipeline_modelR Documentation

Get the PipelineModel from a Spark NLP pretrained pipeline

Description

Spark NLP pretrained pipelines are not Spark ML pipeline models. This function will retrieve the ML pipeline model from the pretrained pipeline object.

Usage

as_pipeline_model(pipeline)

Arguments

pretrained_pipeline

the Spark NLP PretrainedPipeline object

Value

the Spark ML pipeline model from the input


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