<commit_before>#include <string>
#include <iostream>
#include <ros/ros.h>

void sayc(const char c, int pos){

	std::stringstream sysCall;
	sysCall<<"aplay ";
	sysCall<<"/home/thijs/tawisound/";
	if(c=='D'){
		sysCall<<"plus.wav";
		system(sysCall.str().c_str());
		return;
	}
	if(c=='E'){
		sysCall<<"min.wav";
		system(sysCall.str().c_str());
		return;
	}
	if(c=='F'){
		sysCall<<"keer.wav";
		system(sysCall.str().c_str());
		return;
	}
	if(pos==1){
		sysCall<<"f";
	}else{
		sysCall<<"L";
	}
 	const char* what=std::to_string(c-48).c_str(); 
	sysCall<<what<<".wav";
	ROS_INFO("speak: %s", sysCall.str().c_str());
	system(sysCall.str().c_str());
}

void opening(){
        std::stringstream sysCall;
	sysCall<<"aplay /home/thijs/tawisound/wat_is.wav";
	system(sysCall.str().c_str());
}

void speak(const char* say){
 	opening();
	for(int i=1;i<4;i++){
		sayc(say[i],i);
	}
}<commit_msg>it speaks now<commit_after>#include <string>
#include <iostream>
#include <ros/ros.h>

void sayc(const char c, int pos){

	std::stringstream sysCall;
	sysCall<<"aplay ";
	sysCall<<"/home/ubuntu/tawisound/";
	if(c=='D'){
		sysCall<<"plus.wav";
		system(sysCall.str().c_str());
		return;
	}
	if(c=='E'){
		sysCall<<"min.wav";
		system(sysCall.str().c_str());
		return;
	}
	if(c=='F'){
		sysCall<<"keer.wav";
		system(sysCall.str().c_str());
		return;
	}
	if(pos==1){
		sysCall<<"f";
	}else{
		sysCall<<"L";
	}
 	const char* what=std::to_string(c-48).c_str(); 
	sysCall<<what<<".wav";
	ROS_INFO("speak: %s", sysCall.str().c_str());
	system(sysCall.str().c_str());
}

void opening(){
        std::stringstream sysCall;
	sysCall<<"aplay /home/ubuntu/tawisound/wat_is.wav";
	system(sysCall.str().c_str());
}

void speak(const char* say){
 	opening();
	for(int i=1;i<4;i++){
		sayc(say[i],i);
	}
}
{'fraction_non_alphanumeric': 0.2452193475815523, 'fraction_numerical': 0.00562429696287964, 'mean_word_length': 4.7947882736156355, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1768625', 'n_tokens_mistral': 853, 'n_tokens_neox': 799, 'n_words': 112}