Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed parameter calculationsCol #13594

Merged
merged 1 commit into from
Mar 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions python/sparknlp/base/multi_document_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,15 @@ class MultiDocumentAssembler(AnnotatorTransformer):

Parameters
----------
inputCols
Input column name
outputCols
Output column name
idCol
inputCols: str or List[str]
Input column name.
outputCols: str or List[str]
Output column name.
idCol: str
Name of String type column for row id.
metadataCol
metadataCol: str
Name of Map type column with metadata information
calculationsCol
Name of float vector map column to use for embeddings and other
representations.
cleanupMode
cleanupMode: str
How to cleanup the document , by default disabled.
Possible values: ``disabled, inplace, inplace_full, shrink, shrink_full,
each, each_full, delete_full``
Expand Down Expand Up @@ -89,7 +86,6 @@ class MultiDocumentAssembler(AnnotatorTransformer):
outputCols = Param(Params._dummy(), "outputCols", "output finished annotation cols", typeConverter=TypeConverters.toListString)
idCol = Param(Params._dummy(), "idCol", "column for setting an id to such string in row", typeConverter=TypeConverters.toString)
metadataCol = Param(Params._dummy(), "metadataCol", "String to String map column to use as metadata", typeConverter=TypeConverters.toString)
calculationsCol = Param(Params._dummy(), "calculationsCol", "String to Float vector map column to use as embeddigns and other representations", typeConverter=TypeConverters.toString)
cleanupMode = Param(Params._dummy(), "cleanupMode", "possible values: disabled, inplace, inplace_full, shrink, shrink_full, each, each_full, delete_full", typeConverter=TypeConverters.toString)
name = 'MultiDocumentAssembler'

Expand Down