<commit_before>#include "visualDebug.hpp"
#include "fileDebug.hpp"

//#include <boost/gil/extension/io/jpeg_io.hpp>
#include <boost/gil/extension/io/png_io.hpp>

namespace rom {
    namespace vision {

        CCTagVisualDebug::CCTagVisualDebug() {

        }

        CCTagVisualDebug::~CCTagVisualDebug() {

        }

        void CCTagVisualDebug::setPyramidLevel(int level) {
#if defined(DEBUG) || defined(CCTAG_STAT_DEBUG)
            _pyramidLevel = level;
#endif
        }

        int CCTagVisualDebug::getPyramidLevel() {
            return _pyramidLevel;
        }

        void CCTagVisualDebug::initPath(const std::string & path) {
#if defined(DEBUG) || defined(CCTAG_STAT_DEBUG)
            _path = path;
#endif
        }
<commit_msg>missing define for MacPorts gil 1.0.0<commit_after>#include "visualDebug.hpp"
#include "fileDebug.hpp"

//#include <boost/gil/extension/io/jpeg_io.hpp>

// griff: define int_p_NULL against a bug in boost-gil-numeric 1.0.0
#define int_p_NULL (int*)NULL
#include <boost/gil/extension/io/png_io.hpp>

namespace rom {
    namespace vision {

        CCTagVisualDebug::CCTagVisualDebug() {

        }

        CCTagVisualDebug::~CCTagVisualDebug() {

        }

        void CCTagVisualDebug::setPyramidLevel(int level) {
#if defined(DEBUG) || defined(CCTAG_STAT_DEBUG)
            _pyramidLevel = level;
#endif
        }

        int CCTagVisualDebug::getPyramidLevel() {
            return _pyramidLevel;
        }

        void CCTagVisualDebug::initPath(const std::string & path) {
#if defined(DEBUG) || defined(CCTAG_STAT_DEBUG)
            _path = path;
#endif
        }

{'fraction_non_alphanumeric': 0.11419753086419752, 'fraction_numerical': 0.003703703703703704, 'mean_word_length': 2.8412322274881516, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3276442', 'n_tokens_mistral': 560, 'n_tokens_neox': 518, 'n_words': 91}