sparknlp.common.annotator_properties
#
Contains the base classes for Annotator properties.
Module Contents#
Classes#
Components that take parameters. This also provides an internal |
- class AnnotatorProperties[source]#
Components that take parameters. This also provides an internal param map to store parameter values attached to the instance.
New in version 1.3.0.
- setInputCols(*value)[source]#
Sets column names of input annotations.
- Parameters:
- *valueList[str]
Input columns for the annotator
- setOutputCol(value)[source]#
Sets output column name of annotations.
- Parameters:
- valuestr
Name of output column