sparknlp.reader.reader2table
#
Module Contents#
Classes#
Base class for :py:class:`Transformer`s that wrap Java/Scala |
- class Reader2Table[source]#
Base class for :py:class:`Transformer`s that wrap Java/Scala implementations. Subclasses should ensure they have the transformer Java object available as _java_obj.
- setContentPath(value)[source]#
Sets content path.
- Parameters:
- valuestr
contentPath path to files to read
- setContentType(value)[source]#
Set the content type to load following MIME specification
- Parameters:
- valuestr
content type to load following MIME specification
- setExplodeDocs(value)[source]#
Sets whether to explode the documents into separate rows.
- Parameters:
- valueboolean
- Whether to explode the documents into separate rows
- setFlattenOutput(value)[source]#
Sets whether to flatten the output to plain text with minimal metadata.
- Parameters:
- valuebool
If true, output is flattened to plain text with minimal metadata