<commit_before># OpenThreads is a C++ based threading library. Its largest userbase 
# seems to OpenSceneGraph so you might notice I accept OSGDIR as an
# environment path.
# I consider this part of the Findosg* suite used to find OpenSceneGraph 
# components.
# Each component is separate and you must opt in to each module.
# 
# Locate OpenThreads
# This module defines
# OPENTHREADS_LIBRARY
# OPENTHREADS_FOUND, if false, do not try to link to OpenThreads
# OPENTHREADS_INCLUDE_DIR, where to find the headers
#
# $OPENTHREADS_DIR is an environment variable that would
# correspond to the ./configure --prefix=$OPENTHREADS_DIR
# used in building osg.
#
# Created by <NAME>.

# Header files are presumed to be included like
# #include <OpenThreads/Thread>

# Try the user's environment request before anything else.

FIND_PATH(OPENTHREADS_INCLUDE_DIR OpenThreads/Thread
  ${CMAKE_INSTALL_PREFIX}/include
	$ENV{OPENTHREADS_DIR}/include
	$ENV{OSG_DIR}/include
	~/Library/Frameworks
	/Library/Frameworks
	/usr/local/include
	/usr/include
	/sw/include # Fink
	/opt/local/include # DarwinPorts
	/opt/csw/include # Blastwave
	/opt/include
	[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include
)


FIND_LIBRARY(OPENTHREADS_LIBRARY 
	NAMES OpenThreads OpenThreadsd OpenThreadsWin32 OpenThreadsWin32d
	PATHS
	${CMAKE_INSTALL_PREFIX}/lib
	$ENV{OPENTHREADS_DIR}/lib
	$ENV{OSG_DIR}/lib
	~/Library/Frameworks
	/Library/Frameworks
	/usr/local/lib64
	/usr/local/lib
	/usr/lib64
	/usr/lib
	/sw/lib
	/opt/local/lib
	/opt/csw/lib
	/opt/lib
	[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/lib
)

SET(OPENTHREADS_FOUND "NO")
IF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
	SET(OPENTHREADS_FOUND "YES")
        MESSAGE("---Found OpenThreads: "${OPENTHREADS_LIBRARY})
ENDIF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
<commit_msg>Fixed spacing of message<commit_after># OpenThreads is a C++ based threading library. Its largest userbase 
# seems to OpenSceneGraph so you might notice I accept OSGDIR as an
# environment path.
# I consider this part of the Findosg* suite used to find OpenSceneGraph 
# components.
# Each component is separate and you must opt in to each module.
# 
# Locate OpenThreads
# This module defines
# OPENTHREADS_LIBRARY
# OPENTHREADS_FOUND, if false, do not try to link to OpenThreads
# OPENTHREADS_INCLUDE_DIR, where to find the headers
#
# $OPENTHREADS_DIR is an environment variable that would
# correspond to the ./configure --prefix=$OPENTHREADS_DIR
# used in building osg.
#
# Created by <NAME>.

# Header files are presumed to be included like
# #include <OpenThreads/Thread>

# Try the user's environment request before anything else.

FIND_PATH(OPENTHREADS_INCLUDE_DIR OpenThreads/Thread
  ${CMAKE_INSTALL_PREFIX}/include
	$ENV{OPENTHREADS_DIR}/include
	$ENV{OSG_DIR}/include
	~/Library/Frameworks
	/Library/Frameworks
	/usr/local/include
	/usr/include
	/sw/include # Fink
	/opt/local/include # DarwinPorts
	/opt/csw/include # Blastwave
	/opt/include
	[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include
)


FIND_LIBRARY(OPENTHREADS_LIBRARY 
	NAMES OpenThreads OpenThreadsd OpenThreadsWin32 OpenThreadsWin32d
	PATHS
	${CMAKE_INSTALL_PREFIX}/lib
	$ENV{OPENTHREADS_DIR}/lib
	$ENV{OSG_DIR}/lib
	~/Library/Frameworks
	/Library/Frameworks
	/usr/local/lib64
	/usr/local/lib
	/usr/lib64
	/usr/lib
	/sw/lib
	/opt/local/lib
	/opt/csw/lib
	/opt/lib
	[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/lib
)

SET(OPENTHREADS_FOUND "NO")
IF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
	SET(OPENTHREADS_FOUND "YES")
        MESSAGE("-- Found OpenThreads: "${OPENTHREADS_LIBRARY})
ENDIF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)

{'fraction_non_alphanumeric': 0.09369322605761744, 'fraction_numerical': 0.004152608357124318, 'mean_word_length': 4.911042944785276, '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': '7568936', 'n_tokens_mistral': 1427, 'n_tokens_neox': 1361, 'n_words': 328}