Skip to content

Commit

Permalink
Merge pull request #65 from Weimw/add-sentiment
Browse files Browse the repository at this point in the history
add support for sentiment analysis
  • Loading branch information
SandraRodgers authored Jul 25, 2023
2 parents 5923e64 + f9cd6ed commit cb6f306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepgram/prerecorded.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ type WordBase struct {
Speaker *int `json:"speaker,omitempty"`
SpeakerConfidence float64 `json:"speaker_confidence,omitempty"`
Punctuated_Word string `json:"punctuated_word,omitempty"`
Sentiment string `json:"sentiment,omitempty"`
}

type Alternative struct {
Expand Down

0 comments on commit cb6f306

Please sign in to comment.