<commit_before>all: speaker-recognition mfcc-test

CFLAGS=-I. -std=c++11
LIBSNDFILE=`pkg-config --cflags --libs sndfile`

mfcc.o: mfcc.cpp
	$(CXX) -c $< -o $@ $(CFLAGS)

mfcc-test: mfcc.o mfcc-test.cc
	$(CXX) $^ -o $@ -lgrt $(CFLAGS)

wav-reader.o: wav-reader.cpp
	$(CXX) -c $< -o $@ $(CFLAGS)

speaker-recognition: mfcc.o wav-reader.o speaker-recognition.cpp
	$(CXX) $^ -o $@ -lgrt $(CFLAGS) $(LIBSNDFILE)

test: mfcc-test
	@./mfcc-test test

clean:
	$(RM) mfcc-test speaker-recognition

.PHONY: clean test<commit_msg>Clean .o file<commit_after>all: speaker-recognition mfcc-test

CFLAGS=-I. -std=c++11
LIBSNDFILE=`pkg-config --cflags --libs sndfile`

mfcc.o: mfcc.cpp
	$(CXX) -c $< -o $@ $(CFLAGS)

mfcc-test: mfcc.o mfcc-test.cc
	$(CXX) $^ -o $@ -lgrt $(CFLAGS)

wav-reader.o: wav-reader.cpp
	$(CXX) -c $< -o $@ $(CFLAGS)

speaker-recognition: mfcc.o wav-reader.o speaker-recognition.cpp
	$(CXX) $^ -o $@ -lgrt $(CFLAGS) $(LIBSNDFILE)

test: mfcc-test
	@./mfcc-test test

clean:
	$(RM) mfcc-test speaker-recognition *.o

.PHONY: clean test
{'fraction_non_alphanumeric': 0.20633397312859886, 'fraction_numerical': 0.003838771593090211, 'mean_word_length': 3.6150442477876106, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7329032', 'n_tokens_mistral': 507, 'n_tokens_neox': 475, 'n_words': 98}