Here is some math!
$ sqrt{3} $ $$ sqrt{3} $$
def dict_distance (dict1:dict, | |
dict2:dict) -> float: | |
distance_list = [] | |
character_length = [] | |
for key, value in dict1.items(): | |
distance_list.append(edit_distance(dict1[key].strip(), | |
dict2[key].strip())) |
import glob | |
import pydub | |
import pandas as pd | |
import glob | |
def con_mp3_wav(file): | |
sound = pydub.AudioSegment.from_mp3(file) ## reading the file mp3 file | |
sound.export(file[:-4]+".wav", format="wav")## exporting the wav fiel to a spesific folder. | |
## file[:-4] removes the .mp3 from the file name. |