sparknlp_jsl.annotator.source_tracking_metadata_params
#
Module Contents#
Classes#
- class SourceTrackingMetadataParams#
- allPossibleFieldsToStandardize#
- includeOutputColumn#
- includeStandardField#
- outputColumnKey#
- standardFieldKey#
- setAllPossibleFieldsToStandardize(fields)#
Sets array with all possible fields containing the value to write in the standard field ordered by priority
- Parameters:
fields (list) – array with all possible fields containing the value to write in the standard field ordered by priority
- setIncludeOutputColumn(p)#
Sets whether to include a metadata key/value to specify the output column name for the annotation
- Parameters:
p (bool) – whether to include a metadata key/value to specify the output column name for the annotation
- setIncludeStandardField(p)#
Sets whether to include a metadata key/value to specify the output column name for the annotation
- Parameters:
p (bool) – whether to include a metadata key/value to specify the output column name for the annotation
- setOutputColumnKey(s)#
Set key name for the source column value
- Parameters:
s (str) – key name for the source column value
- setStandardFieldKey(s)#
Set key name for the source column value
- Parameters:
s (str) – key name for the source column value