<commit_before>/*
 * PVArguments.cpp
 *
 *  Created on: Sep 21, 2015
 *      Author: pschultz
 */

#include <cstdlib>
#include <omp.h>
#include <string.h>
#include "PV_Arguments.hpp"
#include "../io/io.h"

namespace PV {

PV_Arguments::PV_Arguments(int argc, char * argv[], bool allowUnrecognizedArguments) {
   initialize_base();
   initialize(argc, argv, allowUnrecognizedArguments);
}

int PV_Arguments::initialize_base() {
   initializeState();
   numArgs = 0;
   args = NULL;
   return PV_SUCCESS;
}
<commit_msg>Wrapped omp.h include inside ifdef so that non-openmp builds will work<commit_after>/*
 * PVArguments.cpp
 *
 *  Created on: Sep 21, 2015
 *      Author: pschultz
 */

#include <cstdlib>
#ifdef PV_USE_OPENMP_THREADS
#include <omp.h>
#endif
#include <string.h>
#include "PV_Arguments.hpp"
#include "../io/io.h"

namespace PV {

PV_Arguments::PV_Arguments(int argc, char * argv[], bool allowUnrecognizedArguments) {
   initialize_base();
   initialize(argc, argv, allowUnrecognizedArguments);
}

int PV_Arguments::initialize_base() {
   initializeState();
   numArgs = 0;
   args = NULL;
   return PV_SUCCESS;
}

{'fraction_non_alphanumeric': 0.1313220940550133, 'fraction_numerical': 0.012422360248447204, 'mean_word_length': 4.371428571428571, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5199686', 'n_tokens_mistral': 413, 'n_tokens_neox': 379, 'n_words': 93}