<commit_before>cmake_minimum_required(VERSION 3.1.0)

project(gtl)

set(CMAKE_CXX_STANDARD 11)

add_subdirectory(tests)<commit_msg>Make the tests optional<commit_after>cmake_minimum_required(VERSION 3.1.0)

project(gtl)

set(CMAKE_CXX_STANDARD 11)

option(BUILD_TESTS "Set when you want to build the tests" OFF)

add_library(gtl INTERFACE)
target_include_directories(gtl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

if(BUILD_TESTS)
	add_subdirectory(tests)
endif(BUILD_TESTS)

{'fraction_non_alphanumeric': 0.0870488322717622, 'fraction_numerical': 0.021231422505307854, 'mean_word_length': 9.488888888888889, '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': '6046032', 'n_tokens_mistral': 194, 'n_tokens_neox': 175, 'n_words': 31}