<commit_before>//
// C++ Implementation: PresetLoader
//
// Description: 
//
//
// Author: <NAME> <<EMAIL>>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "PresetLoader.hpp"
#include "Preset.hpp"
#include <iostream>
#include <sstream>
extern "C" {
#include <errno.h>
#include <dirent.h>
}
#include <cassert>
#include "projectM.h"

PresetLoader::PresetLoader(std::string dirname) :m_dirname(dirname)
{
	// Do one scan
	rescan();<commit_msg>got rid of PROJECTM_FILE_EXTENSION reference error<commit_after>//
// C++ Implementation: PresetLoader
//
// Description: 
//
//
// Author: <NAME> <<EMAIL>>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "PresetLoader.hpp"
#include "Preset.hpp"
#include <iostream>
#include <sstream>
extern "C" {
#include <errno.h>
#include <dirent.h>
}
#include <cassert>
#include "projectM.h"

const std::string PresetLoader::PROJECTM_FILE_EXTENSION(".prjm");
const std::string PresetLoader::MILKDROP_FILE_EXTENSION(".milk");

PresetLoader::PresetLoader(std::string dirname) :m_dirname(dirname)
{
	// Do one scan
	rescan();
{'fraction_non_alphanumeric': 0.17192982456140352, 'fraction_numerical': 0.007017543859649123, 'mean_word_length': 4.851282051282051, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '804996', 'n_tokens_mistral': 422, 'n_tokens_neox': 408, 'n_words': 98}