<commit_before>
kcomet-example: Main.hs
	ghc --make Main.hs -o kcomet-example -threaded \
             -fforce-recomp -O2 -dcore-lint 

run-kcomet-example: kcomet-example
	./kcomet-example

# This version can be used before cabal install
#
# You need to have done cabal build before this will find the 
# ../dist/build/autogen/Paths_kansas_comet.hs
kcomet-example-inplace: Main.hs ../Web/KansasComet.hs 
	ghc --make Main.hs -o kcomet-example-inplace -threaded \
		-fforce-recomp -O2 -dcore-lint \
		-i..:../dist/build/autogen/

run-kcomet-example-inplace: kcomet-example-inplace
	export kansas_comet_datadir=.. ; ./kcomet-example-inplace<commit_msg>Adding ghci options.<commit_after>
kcomet-example: Main.hs
	ghc --make Main.hs -o kcomet-example -threaded \
             -fforce-recomp -O2 -dcore-lint 

run-kcomet-example: kcomet-example
	./kcomet-example

# This version can be used before cabal install
#
# You need to have done cabal build before this will find the 
# ../dist/build/autogen/Paths_kansas_comet.hs
kcomet-example-inplace: Main.hs ../Web/KansasComet.hs 
	ghc --make Main.hs -o kcomet-example-inplace -threaded \
		-fforce-recomp -O2 -dcore-lint \
		-i..:../dist/build/autogen/

run-kcomet-example-inplace: kcomet-example-inplace
	export kansas_comet_datadir=.. ; ./kcomet-example-inplace

ghci:
	ghci Main.hs \
		-i..:../dist/build/autogen/
{'fraction_non_alphanumeric': 0.1325478645066274, 'fraction_numerical': 0.0029455081001472753, 'mean_word_length': 3.0207100591715976, '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': '4845246', 'n_tokens_mistral': 543, 'n_tokens_neox': 524, 'n_words': 113}