Path to the resource
How to interpret the resource. Possible values are ReadAs.SPARK, ReadAs.TEXT, ReadAs.BINARY
Options for Spark. Option format
needs to be set if readAs
is set to ReadAs.SPARK
Options for Spark.
Options for Spark. Option format
needs to be set if readAs
is set to ReadAs.SPARK
Path to the resource
How to interpret the resource.
How to interpret the resource. Possible values are ReadAs.SPARK, ReadAs.TEXT, ReadAs.BINARY
This represents an external source which contains information into how an external resource shall be read by Spark-NLP's Resource Helper.
ReadAs.TEXT
will configure the file to be read locally as textReadAs.BINARY
will configure the file to be read locally as binaryReadAs.SPARK
will configure the file to be read by Spark."format"
will need to be defined inoptions
.Example
Path to the resource
How to interpret the resource. Possible values are
ReadAs.SPARK, ReadAs.TEXT, ReadAs.BINARY
Options for Spark. Option
format
needs to be set ifreadAs
is set toReadAs.SPARK