def parse_asrtoolkit_result(res):
    """This function returns the asrtoolkit result (cer or wer) as follow:
	'CER: 4%' --> 4
	@param: res (string): the string that asrtoolkit returns
	@return: res_net (float): only the number
	"""
    res_net = str(res)
    for s in ['WER: ', 'CER: ', '%\\n', "'", 'b']:
        res_net = res_net.replace(s, '')
    return float(res_net)
