<commit_before>#ifndef PARAVER_PARSER_H
#define PARAVER_PARSER_H
#include <map>
#include <regex>
#include <fstream>
#include <vector>
#include <sstream>
#include "common.h"
#include "event.h"

using namespace std;

/**
 * Note: works only for one application
 */
class ParaverParser {

private:
	// Match the names of the states with their IDs
	map<int, string> stateNames;
	// Match the names of the events with their IDs
	map<int, string> eventNames;
	// Match the names of the event value with their IDs
	map<int, map<int, string>> eventTypes;<commit_msg>Fixed compilation problem (issue #4)<commit_after>#ifndef PARAVER_PARSER_H
#define PARAVER_PARSER_H
#include <map>
#include <regex>
#include <fstream>
#include <vector>
#include <sstream>
#include <set>
#include "common.h"
#include "event.h"

using namespace std;

/**
 * Note: works only for one application
 */
class ParaverParser {

private:
	// Match the names of the states with their IDs
	map<int, string> stateNames;
	// Match the names of the events with their IDs
	map<int, string> eventNames;
	// Match the names of the event value with their IDs
	map<int, map<int, string>> eventTypes;
{'fraction_non_alphanumeric': 0.10745233968804159, 'fraction_numerical': 0.0008665511265164644, 'mean_word_length': 4.862944162436548, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, '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': '4198984', 'n_tokens_mistral': 382, 'n_tokens_neox': 377, 'n_words': 141}