<commit_before># crazy_date_calculations
A little crazy program that takes a String with a query to convert come date info and tries to interpret and answer it (approximately).

This code assumes 365 days for a year and 30 days for a month.

**This is experimental code.**<commit_msg>Update to add some info about how this program works.<commit_after># crazy_date_calculations
A little crazy program that takes a String with a query to convert come date info and tries to interpret and answer it (approximately).

This code assumes 365 days for a year and 30 days for a month.

Currently, the only kind of input that gets answered is of the pattern:

> [quantos, quantas...] <x> [há em, tem, ...] <period>

* <x> can be: segundos, minutos, horas, dias, semanas, meses, anos (case-sensitive, but singular/plural doesn't matter).
* Text between `[]` is optional.
* <period> can be things like: 10 anos, 20 meses, 2 semanas e 15 dias...

**This is experimental code.**
{'fraction_non_alphanumeric': 0.08186528497409326, 'fraction_numerical': 0.017616580310880828, 'mean_word_length': 4.3076923076923075, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '695831', 'n_tokens_mistral': 291, 'n_tokens_neox': 266, 'n_words': 149}