<commit_before>-module(lexf).
-export([generate/1, test/0]).

test() ->
	ok.

generate(_X) ->
	ok.<commit_msg>LEXF completed<commit_after>-module(lexf).
-export([generate/2, test/0]).

test() ->
	%Result = generate(["T","A","G","C"], 2),
	Result = generate(["D","Z","P","K", "W", "M"], 3),
	print(Result).

generate(Lex, Length) ->
	generate(Lex,Length, Lex).

generate(_Lex, 1, Acc) ->
	Acc;
generate(Lex, Length, Acc) ->
	New_Acc = [[Acc1|Lex1] || Acc1 <- Acc, Lex1 <- Lex],
	generate(Lex, Length -1, New_Acc).

print([]) ->
	ok;
print([Head|Tail]) ->
	io:format("~s~n", [Head]),
	print(Tail).
{'fraction_non_alphanumeric': 0.2739495798319328, 'fraction_numerical': 0.020168067226890758, 'mean_word_length': 4.518518518518518, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '1010600', 'n_tokens_mistral': 260, 'n_tokens_neox': 245, 'n_words': 47}