<commit_before># find speech-dispatcher library and header if available
# Copyright (c) 2009, <NAME> <<EMAIL>>
# Copyright (c) 2011, <NAME> <<EMAIL>>
# This module defines
#  SPEECHD_INCLUDE_DIR, where to find libspeechd.h
#  SPEECHD_LIBRARIES, the libraries needed to link against speechd
#  SPEECHD_FOUND, If false, speechd was not found
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

find_path(SPEECHD_INCLUDE_DIR libspeechd.h)

find_library(SPEECHD_LIBRARIES NAMES speechd)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Speechd REQUIRED_VARS SPEECHD_INCLUDE_DIR SPEECHD_LIBRARIES)<commit_msg>Support for Speechd 0.8 in CMake<commit_after># find speech-dispatcher library and header if available
# Copyright (c) 2009, <NAME> <<EMAIL>>
# Copyright (c) 2011, <NAME> <<EMAIL>>
# This module defines
#  SPEECHD_INCLUDE_DIR, where to find libspeechd.h
#  SPEECHD_LIBRARIES, the libraries needed to link against speechd
#  SPEECHD_FOUND, If false, speechd was not found
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

find_path(SPEECHD_INCLUDE_DIR libspeechd.h PATH_SUFFIXES speech-dispatcher)

find_library(SPEECHD_LIBRARIES NAMES speechd)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Speechd REQUIRED_VARS SPEECHD_INCLUDE_DIR SPEECHD_LIBRARIES)
{'fraction_non_alphanumeric': 0.06822742474916388, 'fraction_numerical': 0.012040133779264214, 'mean_word_length': 6.711340206185567, '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': '4084485', 'n_tokens_mistral': 539, 'n_tokens_neox': 492, 'n_words': 148}