7SMHQHQGGCPR44NNBHAELM46EOREVGRF32YB66FYZALQSDRC3CJQC // segmentMatchesFilters returns true if the segment has any label matching all active filtersfunc (s *ClassifyState) segmentMatchesFilters(seg *utils.Segment) bool {for _, label := range seg.Labels {if s.Config.Filter != "" && label.Filter != s.Config.Filter {continue}if s.Config.Species != "" && label.Species != s.Config.Species {continue}if s.Config.CallType != "" && label.CallType != s.Config.CallType {continue}return true}return false}
fmt.Fprintf(os.Stderr, " --filter opensoundscape-kiwi-1.2 --bind k=Kiwi --color\n")
fmt.Fprintf(os.Stderr, " --filter opensoundscape-kiwi-1.2 --bind k=Kiwi --color\n\n")fmt.Fprintf(os.Stderr, " # Scope to only Kiwi Duet calls within a filter\n")fmt.Fprintf(os.Stderr, " skraak calls classify --folder /path/to/data --reviewer dave \\\n")fmt.Fprintf(os.Stderr, " --filter opensoundscape-kiwi-1.2 --species Kiwi+Duet --bind k=Kiwi\n")