<commit_before>addf = /usr/bin/sed \
	-e 's,~/checkout/Grail/grammars/big_french_drt.pl,../grammars/big_french_drt,g'
addgl = /usr/bin/sed \
        -e 's/chart.pl/grail_light.pl/g'
addglc = /usr/bin/sed \
        -e 's/chart.pl/grail_light_cr.pl/g'
addglnd = /usr/bin/sed \
        -e 's/grail_light.pl/grail_light_nd.pl/g'


all: grail_light.pl grail_light_cr.pl grail_light_nd.pl

chart_lp.pl: chart.pl
	/usr/bin/sed -e 's/%LP//g' chart.pl > chart_lp.pl
chart_cr.pl: chart.pl
	/usr/bin/sed -e 's/%CR//g' chart.pl > chart_cr.pl

grail_light.pl: chart_lp.pl
	$(addf) chart_lp.pl | $(addgl) | tail +2 > grail_light.pl
grail_light_nd.pl: grail_light.pl
	/usr/bin/sed -e 's/%output_proofs(nd)./output_proofs(nd)./g' grail_light.pl | /usr/bin/sed -e 's/output_proofs(chart)./%output_proofs(chart)./g' | $(addglnd)  > grail_light_nd.pl
grail_light_cr.pl: chart_cr.pl
	$(addf) chart_cr.pl | $(addglc) | tail +2 > grail_light_cr.pl

parser.tcl: gui.tcl
	/usr/bin/sed -e 's/#LP //g' gui.tcl > parser.tcl
parser_cr.tcl: gui.tcl<commit_msg>Added tcl parser scripts to Makefile<commit_after>addf = /usr/bin/sed \
	-e 's,~/checkout/Grail/grammars/big_french_drt.pl,../grammars/big_french_drt,g'
addgl = /usr/bin/sed \
        -e 's/chart.pl/grail_light.pl/g'
addglc = /usr/bin/sed \
        -e 's/chart.pl/grail_light_cr.pl/g'
addglnd = /usr/bin/sed \
        -e 's/grail_light.pl/grail_light_nd.pl/g'


all: grail_light.pl grail_light_cr.pl grail_light_nd.pl parser.tcl parser_cr.tcl

chart_lp.pl: chart.pl
	/usr/bin/sed -e 's/%LP//g' chart.pl > chart_lp.pl
chart_cr.pl: chart.pl
	/usr/bin/sed -e 's/%CR//g' chart.pl > chart_cr.pl

grail_light.pl: chart_lp.pl
	$(addf) chart_lp.pl | $(addgl) | tail +2 > grail_light.pl
grail_light_nd.pl: grail_light.pl
	/usr/bin/sed -e 's/%output_proofs(nd)./output_proofs(nd)./g' grail_light.pl | /usr/bin/sed -e 's/output_proofs(chart)./%output_proofs(chart)./g' | $(addglnd)  > grail_light_nd.pl
grail_light_cr.pl: chart_cr.pl
	$(addf) chart_cr.pl | $(addglc) | tail +2 > grail_light_cr.pl

parser.tcl: gui.tcl
	/usr/bin/sed -e 's/#LP //g' gui.tcl > parser.tcl
parser_cr.tcl: gui.tcl
{'fraction_non_alphanumeric': 0.1819905213270142, 'fraction_numerical': 0.0018957345971563982, 'mean_word_length': 3.3258196721311477, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '4747652', 'n_tokens_mistral': 1022, 'n_tokens_neox': 1015, 'n_words': 148}