<commit_before>SET(JSONPACK_TUTORIAL_NAME "tutorial")

SET(SOURCES tutorial.cpp)

INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}/include")

set(CMAKE_CXX_FLAGS "-std=c++11 -march=native -Wall -pedantic -Wextra -Weffc++ -Werror -O3 -finline-functions -finline-limit=64 ${CMAKE_CXX_FLAGS}")

ADD_EXECUTABLE(${JSONPACK_TUTORIAL_NAME} ${SOURCES})

TARGET_LINK_LIBRARIES(${JSONPACK_TUTORIAL_NAME} jsonpack)<commit_msg>Fixed example compilation compilation error on OSX<commit_after>SET(JSONPACK_TUTORIAL_NAME "tutorial")

SET(SOURCES tutorial.cpp)

INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}/include")

IF(APPLE)
    SET(CMAKE_CXX_FLAGS "-std=c++11 -march=native -Wall -pedantic -Wextra -Weffc++ -Werror -O3 ${CMAKE_CXX_FLAGS}")
ELSE()
    SET(CMAKE_CXX_FLAGS "-std=c++11 -march=native -Wall -pedantic -Wextra -Weffc++ -Werror -O3 -finline-functions -finline-limit=64 ${CMAKE_CXX_FLAGS}")
ENDIF()

ADD_EXECUTABLE(${JSONPACK_TUTORIAL_NAME} ${SOURCES})

TARGET_LINK_LIBRARIES(${JSONPACK_TUTORIAL_NAME} jsonpack)
{'fraction_non_alphanumeric': 0.141, 'fraction_numerical': 0.013, 'mean_word_length': 7.780701754385965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1760684', 'n_tokens_mistral': 421, 'n_tokens_neox': 391, 'n_words': 60}