<commit_before>#!/usr/bin/env python
"""Utility functions"""

import numpy as np
import os
import glob
import pkg_resources

from numpy.lib.stride_tricks import as_strided
from sklearn.base import BaseEstimator, TransformerMixin


EXAMPLE_AUDIO = 'example_data/Kevin_McCleod_-_Vibe_Ace.mp3'


def example_audio_file():
    '''Get the path to an included audio example file.

    :usage:
        >>> # Load the waveform from the example track
        >>> y, sr = librosa.load(librosa.util.example_audio_file())

    :parameters:
        - None

    :returns:<commit_msg>fixed a typo in example data<commit_after>#!/usr/bin/env python
"""Utility functions"""

import numpy as np
import os
import glob
import pkg_resources

from numpy.lib.stride_tricks import as_strided
from sklearn.base import BaseEstimator, TransformerMixin


EXAMPLE_AUDIO = 'example_data/Kevin_MacLeod_-_Vibe_Ace.mp3'


def example_audio_file():
    '''Get the path to an included audio example file.

    :usage:
        >>> # Load the waveform from the example track
        >>> y, sr = librosa.load(librosa.util.example_audio_file())

    :parameters:
        - None

    :returns:
{'fraction_non_alphanumeric': 0.09366869037294015, 'fraction_numerical': 0.0017346053772766695, 'mean_word_length': 3.768595041322314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7508560', 'n_tokens_mistral': 382, 'n_tokens_neox': 358, 'n_words': 104}