sparknlp.annotator.tf_ner_dl_graph_builder
#
Module Contents#
Classes#
Abstract class for models that are fitted by estimators. |
|
Abstract class for estimators that fit models to data. |
- class TFNerDLGraphBuilderModel[source]#
Abstract class for models that are fitted by estimators.
New in version 1.4.0.
- class TFNerDLGraphBuilder[source]#
Abstract class for estimators that fit models to data.
New in version 1.3.0.
- setHiddenUnitsNumber(value)[source]#
Sets the number of hidden units for AssertionDLApproach and MedicalNerApproach
- Parameters:
- valueint
Number of hidden units for AssertionDLApproach and MedicalNerApproach
- getHiddenUnitsNumber()[source]#
Gets the number of hidden units for AssertionDLApproach and MedicalNerApproach.
- setLabelColumn(value)[source]#
Sets the name of the column for data labels.
- Parameters:
- valuestr
Column for data labels
- setInputCols(*value)[source]#
Sets column names of input annotations.
- Parameters:
- *valueList[str]
Input columns for the annotator
- setGraphFolder(value)[source]#
Sets folder path that contain external graph files.
- Parameters:
- valuesrt
Folder path that contain external graph files.