<commit_before>#include <iostream>
#include <vector>
#include <string>

using namespace std;

void userin(string &);
vector <string> parsed(const string);
void print(const string);


void userin(string &s)
{
	getline(cin,s);

	return;
}

vector <string>parsed (const string s)
{
	vector <string>v;
	string parsing = s;
	string par = "";

	int j = 0;
	int k = 0;
	for(int i = 0; i < parsing.size(); i++)
	{
		if(parsing.at(i) == ' ')
		{
			j = 0;
			v.push_back(par);
			v.at(k).append(parsing.at(i));
			k++;
			continue;
		}
		else if(parsing.at(i) != ' ')
		{
			if(j == 0)
			{
				v.push_back(par);
				v.at(k).append(parsing.at(i));
				j++;
			}
			else
			{
				v.at(k).append(parsing.at(i));
				j++;
			}
		}
	}

	cout << "vector is as follows: ";
	for(int i = 0; i < v.size(); i++)
	{
		cout << v.at(i);
	}
	cout << endl;

	return v;
}
<commit_msg>removed existing parsing code<commit_after>#include <iostream>
#include <vector>
#include <string>

using namespace std;

void userin(string &);
vector <string> parsed(const string);
void print(const string);


void userin(string &s)
{
	getline(cin,s);

	return;
}

vector <string>parsed (const string s)
{
	vector <string>v;
	string parsing = s;
	string par = " ";

	int j = 0;
	int k = 0;
	for(int i = 0; i < parsing.size(); i++)
	{
		if(parsing.at(i) == ' ')
		{

			/*
			j = 0;
			v.push_back(par);
			v.at(k) = parsing.at(i);
			k++;
			*/
			continue;
		}
		else if(parsing.at(i) != ' ')
		{
			if(j == 0)
			{
				/*
				v.push_back(par);
				v.at(k) = parsing.at(i);
				j++;
				*/
			}
			else
			{
				/*
				v.at(k).append(parsing.at(i));
				j++;
				*/
			}
		}
	}

	cout << "vector is as follows: ";
	for(int i = 0; i < v.size(); i++)
	{
		cout << v.at(i);
	}
	cout << endl;

	return v;
}

{'fraction_non_alphanumeric': 0.20408163265306123, 'fraction_numerical': 0.006802721088435374, 'mean_word_length': 2.558467741935484, 'pattern_counts': {'":': 0, '<': 31, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1587750', 'n_tokens_mistral': 897, 'n_tokens_neox': 765, 'n_words': 167}