View source: R/sentence_detector_dl.R
nlp_sentence_detector_dl_pretrained | R Documentation |
Create a pretrained Spark NLP SentenceDetectorDLModel
model
nlp_sentence_detector_dl_pretrained( sc, input_cols, output_col, impossible_penultimates = NULL, model = NULL, explode_sentences = NULL, name = NULL, lang = NULL, remote_loc = NULL )
sc |
A Spark connection |
input_cols |
Input columns. String array. |
output_col |
Output column. String. |
impossible_penultimates |
impossible penultimates |
model |
model architecture |
explode_sentences |
a flag indicating whether to split sentences into different Dataset rows |
name |
the name of the model to load. If NULL will use the default value |
lang |
the language of the model to be loaded. If NULL will use the default value |
remote_loc |
the remote location of the model. If NULL will use the default value |
The Spark NLP model with the pretrained model loaded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.