<commit_before>set(LEVELDB_HEADER_FILES leveldb/db.h)

FIND_PATH(LEVELDB_INCLUDE_DIR ${LEVELDB_HEADER_FILES}
	/usr/include
    /usr/local/include
    /opt/include
    /opt/leveldb/include)

FIND_LIBRARY(LEVELDB_LIBRARY
    NAMES leveldb
	PATH_SUFFIXES lib64 lib
	PATHS /usr/local
          /opt
          /opt/leveldb)
		  
GET_FILENAME_COMPONENT(LEVELDB_LIBRARY_DIR ${LEVELDB_LIBRARY} PATH)
	
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LEVELDB DEFAULT_MSG
    LEVELDB_LIBRARY LEVELDB_INCLUDE_DIR)

if (LEVELDB_FOUND)
    message(STATUS "found leveldb: ${LEVELDB_LIBRARY} ${CETTY_INCLUDE_DIR}")
endif (LEVELDB_FOUND)

mark_as_advanced(LEVELDB_LIBRARY LEVELDB_INCLUDE_DIR)

SET(LEVELDB_INCLUDE_DIRS ${LEVELDB_INCLUDE_DIR})<commit_msg>修改leveldb打印消息的错误<commit_after>set(LEVELDB_HEADER_FILES leveldb/db.h)

FIND_PATH(LEVELDB_INCLUDE_DIR ${LEVELDB_HEADER_FILES}
	/usr/include
    /usr/local/include
    /opt/include
    /opt/leveldb/include)

FIND_LIBRARY(LEVELDB_LIBRARY
    NAMES leveldb
	PATH_SUFFIXES lib64 lib
	PATHS /usr/local
          /opt
          /opt/leveldb)
		  
GET_FILENAME_COMPONENT(LEVELDB_LIBRARY_DIR ${LEVELDB_LIBRARY} PATH)
	
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LEVELDB DEFAULT_MSG
    LEVELDB_LIBRARY LEVELDB_INCLUDE_DIR)

if (LEVELDB_FOUND)
    message(STATUS "found leveldb: ${LEVELDB_LIBRARY} ${LEVELDB_INCLUDE_DIR}")
endif (LEVELDB_FOUND)

mark_as_advanced(LEVELDB_LIBRARY LEVELDB_INCLUDE_DIR)

SET(LEVELDB_INCLUDE_DIRS ${LEVELDB_INCLUDE_DIR})
{'fraction_non_alphanumeric': 0.07838014369693011, 'fraction_numerical': 0.002612671456564337, 'mean_word_length': 5.689956331877729, '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': '3170065', 'n_tokens_mistral': 640, 'n_tokens_neox': 583, 'n_words': 77}