sparknlp.annotation_audio
#
Contains the AnnotationAudio data format
Module Contents#
Classes#
Represents the output of Spark NLP Annotators for audio output and their details. |
- class AnnotationAudio(annotatorType, result, metadata)[source]#
Represents the output of Spark NLP Annotators for audio output and their details.
- Parameters:
- annotator_typestr
The type of the output of the annotator. Possible values are
AUDIO
.- resultlist(floats)
Audio data in floats - already loaded/processed audio files
- metadatadict
Associated metadata for this annotation