<commit_before>#include "mason/extra/LivePPManager.h"
//#include "mason/Notifications.h"
#include "cinder/Log.h"
#include "cinder/msw/CinderMsw.h"
#include "cinder/app/App.h"

// note: add LivePP/API to your include path
#if ! defined( CINDER_SHARED )
#include "LPP_ForceLinkStaticRuntime.h"
#endif

#include "LPP_API.h"

using namespace ci;
using namespace std;

namespace mason {

namespace {

HMODULE	sLivePPModule = nullptr;

} // anonymous namespace

bool initLivePP( const fs::path &LivePPPath, const std::string &groupName )
{	
	return LivePPManager::instance()->initLivePP( LivePPPath, groupName );
}

// static
LivePPManager* LivePPManager::instance()
{
	static LivePPManager sInstance;
	return &sInstance;
}

LivePPManager::LivePPManager()
{
}
<commit_msg>commenting out "LPP_ForceLinkStaticRuntime.h" for now, added some notes<commit_after>// note: add LivePP/API to your include path

#include "mason/extra/LivePPManager.h"
//#include "mason/Notifications.h" // TODO: move this somewhere outside of this file so it's not a depedency
#include "cinder/Log.h"
#include "cinder/msw/CinderMsw.h"
#include "cinder/app/App.h"

#if ! defined( CINDER_SHARED )
// You're supposed to include this to cover some edge cases, but it causes compile errors with latest v142 toolset.
// note from author: "In 99% of cases you won't need it and you'll probably be fine not including it (LPP_ForceLinkStaticRuntime.h)
//#include "LPP_ForceLinkStaticRuntime.h"
#endif

#include "LPP_API.h"

using namespace ci;
using namespace std;

namespace mason {

namespace {

HMODULE	sLivePPModule = nullptr;

} // anonymous namespace

bool initLivePP( const fs::path &LivePPPath, const std::string &groupName )
{	
	return LivePPManager::instance()->initLivePP( LivePPPath, groupName );
}

// static
LivePPManager* LivePPManager::instance()
{
	static LivePPManager sInstance;
	return &sInstance;
}

LivePPManager::LivePPManager()
{
}

{'fraction_non_alphanumeric': 0.1154046997389034, 'fraction_numerical': 0.0026109660574412533, 'mean_word_length': 5.241042345276873, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6794892', 'n_tokens_mistral': 653, 'n_tokens_neox': 644, 'n_words': 180}