<commit_before># Copyright © 2014 <NAME>
# [This program is licensed under the "MIT License"]
# Please see the file COPYING in the source
# distribution of this software for license terms.

#GENERATOR = python3 ./gpgame-markers.py
GENERATOR = gpgame-markers

.SUFFIXES: .svg .pdf

.svg.pdf:
	cairosvg -d 300 -o $*.pdf $*.svg

SVG = front.svg back.svg numbers.svg
PDF = front.pdf back.pdf numbers.pdf

gpgame-markers.zip: $(PDF)
	zip -r gpgame-markers.zip *.pdf

pdf: $(PDF)

svg: $(SVG)

$(SVG): $(GENERATOR)
	for i in $(SVG); do $(GENERATOR) "`basename $$i .svg`" >$$i ; done

gpgame-markers: gpgame-markers.hs
	ghc -Wall --make gpgame-markers.hs

clean:
	-rm -f $(SVG) $(PDF) \
	  gpgame-markers.zip gpgame-markers.hi gpgame-markers<commit_msg>tweaked Makefile and README for Haskell compat<commit_after># Copyright © 2014 <NAME>
# [This program is licensed under the "MIT License"]
# Please see the file COPYING in the source
# distribution of this software for license terms.

GENCODE = gpgame-markers.py
GENERATOR = python3 ./$(GENCODE)
#GENCODE = gpgame-markers
#GENERATOR = ./$(GENCODE)


.SUFFIXES: .svg .pdf

.svg.pdf:
	cairosvg -d 300 -o $*.pdf $*.svg

SVG = front.svg back.svg numbers.svg
PDF = front.pdf back.pdf numbers.pdf

gpgame-markers.zip: $(PDF)
	zip -r gpgame-markers.zip *.pdf

pdf: $(PDF)

svg: $(SVG)

$(SVG): $(GENCODE)
	for i in $(SVG); do $(GENERATOR) "`basename $$i .svg`" >$$i ; done

./gpgame-markers: gpgame-markers.hs
	ghc -Wall --make gpgame-markers.hs

clean:
	-rm -f $(SVG) $(PDF) gpgame-markers.zip \
	gpgame-markers.hi gpgame-markers.o gpgame-markers
{'fraction_non_alphanumeric': 0.1532156368221942, 'fraction_numerical': 0.01008827238335435, 'mean_word_length': 3.737313432835821, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5019641', 'n_tokens_mistral': 652, 'n_tokens_neox': 627, 'n_words': 186}