vak.prep.sequence_dataset#

Helper functions for datasets annotated as sequences.

Functions

has_unlabeled_segments(dataset_df)

Returns True if a dataset annotated as sequences has segments that are unlabeled in any of the sequences.

where_unlabeled_segments(dataset_df)

Returns a Boolean array that is True where a sequence has unlabeled segments in a dataset of annotated sequences.