<commit_before># Base Io build system
# Written by <NAME> <<EMAIL>>
# Modified by <NAME> <<EMAIL>>
#
# Find Gamma.

#FIND_PATH(GAMMA_INCLUDE_DIR Gamma.h)

#SET(GAMMA_NAMES ${GAMMA_NAMES} Gamma libGamma)
#FIND_LIBRARY(GAMMA_LIBRARY NAMES ${GAMMA_NAMES} PATH)

#IF(GAMMA_INCLUDE_DIR AND GAMMA_LIBRARY)
#	SET(GAMMA_FOUND TRUE)
#ENDIF(GAMMA_INCLUDE_DIR AND GAMMA_LIBRARY)

#IF(GAMMA_FOUND)
#	IF(NOT Gamma_FIND_QUIETLY)
#		MESSAGE(STATUS "Found Gamma: ${GAMMA_LIBRARY}")
#	ENDIF (NOT Gamma_FIND_QUIETLY)
#ELSE(GAMMA_FOUND)
#	IF(Gamma_FIND_REQUIRED)
#		MESSAGE(FATAL_ERROR "Could not find Gamma")
#	ENDIF(Gamma_FIND_REQUIRED)
#ENDIF (GAMMA_FOUND)


# - Try to find Gamma
# Once done this will define

#  GAMMA_FOUND - system has Gamma
#  GAMMA_INCLUDE_DIRS - the Gamma include directory
#  GAMMA_LIBRARIES - Link these to use Gamma

#  Copyright (C) 2006  Wengo

#  Redistribution and use is allowed according to the terms of the New
#  BSD license.
#  For details see the accompanying COPYING-CMAKE-SCRIPTS file.


if (GAMMA_LIBRARIES AND GAMMA_INCLUDE_DIRS)
  # in cache already
  set(GAMMA_FOUND TRUE)
else (GAMMA_LIBRARIES AND GAMMA_INCLUDE_DIRS)

  find_path(GAMMA_INCLUDE_DIR
    NAMES
	  Gamma.h
    PATHS
      /usr/include/Gamma
      /usr/local/include/Gamma
      /opt/local/include/Gamma
      /sw/include/Gamma
  )

  find_library(GAMMA_LIBRARY
    NAMES
	  Gamma
	  libGamma
    PATHS
      /usr/lib
      /usr/local/lib<commit_msg>Look for Gamma in relative paths<commit_after># Base Io build system
# Written by <NAME> <<EMAIL>>
# Modified by <NAME> <<EMAIL>>
#
# Find Gamma.

#FIND_PATH(GAMMA_INCLUDE_DIR Gamma.h)

#SET(GAMMA_NAMES ${GAMMA_NAMES} Gamma libGamma)
#FIND_LIBRARY(GAMMA_LIBRARY NAMES ${GAMMA_NAMES} PATH)

#IF(GAMMA_INCLUDE_DIR AND GAMMA_LIBRARY)
#	SET(GAMMA_FOUND TRUE)
#ENDIF(GAMMA_INCLUDE_DIR AND GAMMA_LIBRARY)

#IF(GAMMA_FOUND)
#	IF(NOT Gamma_FIND_QUIETLY)
#		MESSAGE(STATUS "Found Gamma: ${GAMMA_LIBRARY}")
#	ENDIF (NOT Gamma_FIND_QUIETLY)
#ELSE(GAMMA_FOUND)
#	IF(Gamma_FIND_REQUIRED)
#		MESSAGE(FATAL_ERROR "Could not find Gamma")
#	ENDIF(Gamma_FIND_REQUIRED)
#ENDIF (GAMMA_FOUND)


# - Try to find Gamma
# Once done this will define

#  GAMMA_FOUND - system has Gamma
#  GAMMA_INCLUDE_DIRS - the Gamma include directory
#  GAMMA_LIBRARIES - Link these to use Gamma

#  Copyright (C) 2006  Wengo

#  Redistribution and use is allowed according to the terms of the New
#  BSD license.
#  For details see the accompanying COPYING-CMAKE-SCRIPTS file.


if (GAMMA_LIBRARIES AND GAMMA_INCLUDE_DIRS)
  # in cache already
  set(GAMMA_FOUND TRUE)
else (GAMMA_LIBRARIES AND GAMMA_INCLUDE_DIRS)

  find_path(GAMMA_INCLUDE_DIR
    NAMES
	  Gamma.h
    PATHS
	../../Gamma/Gamma
      /usr/include/Gamma
      /usr/local/include/Gamma
      /opt/local/include/Gamma
      /sw/include/Gamma
  )

  find_library(GAMMA_LIBRARY
    NAMES
	  Gamma
	  libGamma
    PATHS
	../../Gamma/build/lib
      /usr/lib
      /usr/local/lib
{'fraction_non_alphanumeric': 0.09350561033662019, 'fraction_numerical': 0.0027201632097925877, 'mean_word_length': 4.04631217838765, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '5603164', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1179, 'n_words': 266}