#' @param x A \code{spark_connection}, \code{ml_pipeline}, or a \code{tbl_spark}.
#' @param uid A character string used to uniquely identify the ML estimator.
#'
#' @return The object returned depends on the class of \code{x}.
#'
#' \itemize{
#' \item \code{spark_connection}: When \code{x} is a \code{spark_connection}, the function returns an instance of a \code{ml_estimator} object. The object contains a pointer to
#' a Spark \code{Estimator} object and can be used to compose
#' \code{Pipeline} objects.
#'
#' \item \code{ml_pipeline}: When \code{x} is a \code{ml_pipeline}, the function returns a \code{ml_pipeline} with
#' the NLP estimator appended to the pipeline.
#'
#' \item \code{tbl_spark}: When \code{x} is a \code{tbl_spark}, an estimator is constructed then
#' immediately fit with the input \code{tbl_spark}, returning an NLP model.
#' }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.