-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/ZeroShotNerModel.html b/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/ZeroShotNerModel.html
index 4f0120738f..3f6670cf35 100644
--- a/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/ZeroShotNerModel.html
+++ b/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/ZeroShotNerModel.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.finance.token_classification.ner.ZeroShotNerModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.finance.token_classification.ner.ZeroShotNerModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
@@ -215,7 +215,7 @@
Linear Supertypes
- nlp.annotators.ner.ZeroShotNerModel,
CheckLicense,
RoBertaForQuestionAnswering,
HasEngine,
HasCaseSensitiveProperties,
WriteTensorflowModel,
HasBatchedAnnotate[
RoBertaForQuestionAnswering],
AnnotatorModel[
RoBertaForQuestionAnswering],
CanBeLazy,
RawAnnotator[
RoBertaForQuestionAnswering],
HasOutputAnnotationCol,
HasInputAnnotationCols,
HasOutputAnnotatorType,
ParamsAndFeaturesWritable,
HasFeatures,
DefaultParamsWritable,
MLWritable,
Model[
RoBertaForQuestionAnswering],
Transformer,
PipelineStage,
Logging,
Params,
Serializable,
Serializable,
Identifiable,
AnyRef,
Any
+ nlp.annotators.ner.ZeroShotNerModel,
CheckLicense,
RoBertaForQuestionAnswering,
HasEngine,
HasCaseSensitiveProperties,
WriteOnnxModel,
WriteTensorflowModel,
HasBatchedAnnotate[
RoBertaForQuestionAnswering],
AnnotatorModel[
RoBertaForQuestionAnswering],
CanBeLazy,
RawAnnotator[
RoBertaForQuestionAnswering],
HasOutputAnnotationCol,
HasInputAnnotationCols,
HasOutputAnnotatorType,
ParamsAndFeaturesWritable,
HasFeatures,
DefaultParamsWritable,
MLWritable,
Model[
RoBertaForQuestionAnswering],
Transformer,
PipelineStage,
Logging,
Params,
Serializable,
Serializable,
Identifiable,
AnyRef,
Any
@@ -241,7 +241,7 @@
Inherited
- - ZeroShotNerModel
- ZeroShotNerModel
- CheckLicense
- RoBertaForQuestionAnswering
- HasEngine
- HasCaseSensitiveProperties
- WriteTensorflowModel
- HasBatchedAnnotate
- AnnotatorModel
- CanBeLazy
- RawAnnotator
- HasOutputAnnotationCol
- HasInputAnnotationCols
- HasOutputAnnotatorType
- ParamsAndFeaturesWritable
- HasFeatures
- DefaultParamsWritable
- MLWritable
- Model
- Transformer
- PipelineStage
- Logging
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
+ - ZeroShotNerModel
- ZeroShotNerModel
- CheckLicense
- RoBertaForQuestionAnswering
- HasEngine
- HasCaseSensitiveProperties
- WriteOnnxModel
- WriteTensorflowModel
- HasBatchedAnnotate
- AnnotatorModel
- CanBeLazy
- RawAnnotator
- HasOutputAnnotationCol
- HasInputAnnotationCols
- HasOutputAnnotatorType
- ParamsAndFeaturesWritable
- HasFeatures
- DefaultParamsWritable
- MLWritable
- Model
- Transformer
- PipelineStage
- Logging
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
@@ -2508,9 +2508,9 @@
Value Members
-
+
-
+
@@ -2519,7 +2519,7 @@ Value Members
def
- setModelIfNotSet(spark: SparkSession, tensorflowWrapper: TensorflowWrapper): nlp.annotators.ner.ZeroShotNerModel
+ setModelIfNotSet(spark: SparkSession, tensorflowWrapper: Option[TensorflowWrapper], onnxWrapper: Option[OnnxWrapper] = None): nlp.annotators.ner.ZeroShotNerModel
@@ -2898,6 +2898,38 @@ Value Members
+
+
+
+
+
+
+
+
+
+ def
+
+
+ writeOnnxModel(path: String, spark: SparkSession, onnxWrapper: OnnxWrapper, suffix: String, fileName: String): Unit
+
+
+
+
+
+
+
+
+
+
+
+
+ def
+
+
+ writeOnnxModels(path: String, spark: SparkSession, onnxWrappersWithNames: Seq[(OnnxWrapper, String)], suffix: String): Unit
+
+
+
@@ -2966,6 +2998,8 @@ Inherited from HasEngine
Inherited from HasCaseSensitiveProperties
+
+
Inherited from WriteOnnxModel
Inherited from WriteTensorflowModel
diff --git a/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/index.html b/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/index.html
index 3d5231585c..9433435ec0 100644
--- a/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/index.html
+++ b/docs/licensed/api/com/johnsnowlabs/finance/token_classification/ner/index.html
@@ -3,9 +3,9 @@
-
Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.finance.token_classification.ner
-
-
+
Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.finance.token_classification.ner
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/index.html b/docs/licensed/api/com/johnsnowlabs/index.html
index 60cb314b6a..07e646ed0e 100644
--- a/docs/licensed/api/com/johnsnowlabs/index.html
+++ b/docs/licensed/api/com/johnsnowlabs/index.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLApproach.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLApproach.html
index 12585f0f3b..a918264a65 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLApproach.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLApproach.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion.AssertionDLApproach
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion.AssertionDLApproach
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel$.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel$.html
index 22de0a7c7b..5988e1ca39 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel$.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel$.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion.AssertionDLModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion.AssertionDLModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel.html
index 3d5628d81f..b044d5a469 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/AssertionDLModel.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion.AssertionDLModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion.AssertionDLModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/index.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/index.html
index b0f5bfd440..92fea61ad1 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/index.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/assertion/index.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.assertion
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/index.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/index.html
index cdd7ced1cb..0e7b804ef2 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/index.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/index.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperApproach.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperApproach.html
index 4c4f50c002..3c6c0d7bea 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperApproach.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperApproach.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ChunkMapperApproach
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ChunkMapperApproach
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel$.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel$.html
index 1aea4bc997..8a67491c0e 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel$.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel$.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ChunkMapperModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ChunkMapperModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel.html
index a256b2f8ea..24741b06bd 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ChunkMapperModel.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ChunkMapperModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ChunkMapperModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperApproach.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperApproach.html
index f3ec1dc444..b360c847da 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperApproach.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperApproach.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.DocMapperApproach
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.DocMapperApproach
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel$.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel$.html
index 809cf9b261..4538d48fdf 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel$.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel$.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.DocMapperModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.DocMapperModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel.html
index 9a47844bc0..77cc8ddcff 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/DocMapperModel.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.DocMapperModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.DocMapperModel
+
+
@@ -28,7 +28,7 @@
-
Spark NLP 5.1.2 ScalaDoc
+
Spark NLP 5.1.3 ScalaDoc
< Back
diff --git a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ReadablePretrainedDocMapperModel.html b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ReadablePretrainedDocMapperModel.html
index 7fedda4485..5c8415e5aa 100644
--- a/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ReadablePretrainedDocMapperModel.html
+++ b/docs/licensed/api/com/johnsnowlabs/legal/chunk_classification/resolution/ReadablePretrainedDocMapperModel.html
@@ -3,9 +3,9 @@
- Spark NLP 5.1.2 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ReadablePretrainedDocMapperModel
-
-
+ Spark NLP 5.1.3 ScalaDoc - com.johnsnowlabs.legal.chunk_classification.resolution.ReadablePretrainedDocMapperModel
+
+
@@ -28,7 +28,7 @@
-
Instead of 1 class per sentence (if inputCols is sentence) output 1 class per document by averaging probabilities in all sentences. Due to max sequence length limit in almost all transformer models such as BERT (512 tokens), this parameter helps feeding all the sentences -into the model and averaging all the probabilities for the entire document instead of probabilities per sentence. (Default: true) +into the model and averaging all the probabilities for the entire document instead of probabilities per sentence. (Default: false)