<commit_before>cmake_minimum_required(VERSION 3.0)
project(gpt-manipulator C)

add_subdirectory(test)

include_directories(
  include
)

set(SOURCE_FILES
  src/gpt-manipulator.h
  src/gpt-manipulator.c
  src/crc32.h
  src/crc32.c
)

add_library(gpt-manipulator ${SOURCE_FILES})

install(TARGETS gpt-manipulator DESTINATION lib)
install(FILES src/gpt-manipulator.h DESTINATION include)
<commit_msg>build static library<commit_after>cmake_minimum_required(VERSION 3.0)
project(gpt-manipulator C)

add_subdirectory(test)

include_directories(
  include
)

set(SOURCE_FILES
  src/gpt-manipulator.h
  src/gpt-manipulator.c
  src/crc32.h
  src/crc32.c
)

add_library(gpt-manipulator STATIC ${SOURCE_FILES})

install(TARGETS gpt-manipulator DESTINATION lib)
install(FILES src/gpt-manipulator.h DESTINATION include)

{'fraction_non_alphanumeric': 0.09653465346534654, 'fraction_numerical': 0.01485148514851485, 'mean_word_length': 5.974137931034483, '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': '293536', 'n_tokens_mistral': 337, 'n_tokens_neox': 322, 'n_words': 47}