Skip to content

Conversation

wasihussain914
Copy link

Description

Edited corpus functions for random speaker/conversation / utterance functions.
Added

Edited corpus functions to add random speaker, conversation, and utterance selection functionality. These functions enable random selection using reservoir sampling with optional filtering criteria (selector).

feature

Motivation and Context

This change was introduced to enhance the usability of the corpus by allowing users to select random speakers, conversations, and utterances with customizable filtering conditions. It improves functionality and aligns with existing corpus methods like iter_utterances.

How has this been tested?

Imported convokit locally in machine to test new functions. Tested all three functions -- speaker, utterance and conversation.

Other information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants