<commit_before>#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <alpr.h>

extern "C" {
  
#if defined(_MSC_VER)
    //  Microsoft 
    #define OPENALPR_EXPORT __declspec(dllexport)
#else
    //  do nothing
    #define OPENALPR_EXPORT
#endif

  using namespace alpr;


  OPENALPR_EXPORT Alpr* initialize(char* ccountry, char* cconfigFile, char* cruntimeDir)
  {
    //printf("Initialize");

    // Convert strings from char* to string
    std::string country(ccountry);
    std::string configFile(cconfigFile);
    std::string runtimeDir(cruntimeDir);<commit_msg>Using WIN32 instead of _MSC_VER for windows detection<commit_after>#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <alpr.h>

extern "C" {
  
#if defined(WIN32)
    //  Microsoft 
    #define OPENALPR_EXPORT __declspec(dllexport)
#else
    //  do nothing
    #define OPENALPR_EXPORT
#endif

  using namespace alpr;


  OPENALPR_EXPORT Alpr* initialize(char* ccountry, char* cconfigFile, char* cruntimeDir)
  {
    //printf("Initialize");

    // Convert strings from char* to string
    std::string country(ccountry);
    std::string configFile(cconfigFile);
    std::string runtimeDir(cruntimeDir);
{'fraction_non_alphanumeric': 0.11656952539550375, 'fraction_numerical': 0.0033305578684429643, 'mean_word_length': 4.008333333333334, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2118232', 'n_tokens_mistral': 429, 'n_tokens_neox': 404, 'n_words': 98}