<commit_before>/** @file main.cpp
 *  @brief
 *
 *  @author <NAME> (metopa) <<EMAIL>>
 */

#include <iostream>
#include "murmurhash2functor.h"

int main() {
	mmh2::MurmurHash2<int> h;
	std::cout << h(700) << std::endl;
	return 0;
}<commit_msg>Update example<commit_after>/** @file main.cpp
 *  @brief
 *
 *  @author <NAME> (metopa) <<EMAIL>>
 */

#include <iostream>
#include "murmurhash2functor.h"
#include "murmurhash2_stl_specializations.h"

int main() {
	std::cout << mmh2::getMurmurHash2(std::string("")) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::string("AB")) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::string("BA")) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_pair(0.f, 0.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(0., 0.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(-0., 0.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(0.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(0., 0., 0.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(1., 0.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(0., 1.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(1., 1.)) << std::endl;
	std::cout << mmh2::getMurmurHash2(std::make_tuple(-1., 1.)) << std::endl;
	return 0;
}
{'fraction_non_alphanumeric': 0.2455223880597015, 'fraction_numerical': 0.03880597014925373, 'mean_word_length': 6.327868852459017, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 12, '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': '1018688', 'n_tokens_mistral': 596, 'n_tokens_neox': 563, 'n_words': 85}