<commit_before>grammar
=======

Random sentence generator based on a context-free grammar

grammar randomly generates sentences based on a user-supplied context-free grammar.

Format
======

The definition consists of a series of newline-separated "rules."  Each rule corresponds to a part of speech, and follows the syntax &lt;part&gt; &lt;definition&gt;.  For example:

<table>
  <tr><commit_msg>Added reference to old go code<commit_after>grammar
=======

Random sentence generator based on a context-free grammar (ported from github.com/joshlf13/grammar).

grammar randomly generates sentences based on a user-supplied context-free grammar.

Format
======

The definition consists of a series of newline-separated "rules."  Each rule corresponds to a part of speech, and follows the syntax &lt;part&gt; &lt;definition&gt;.  For example:

<table>
  <tr>
{'fraction_non_alphanumeric': 0.09813084112149532, 'fraction_numerical': 0.002336448598130841, 'mean_word_length': 5.078014184397163, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6376108', 'n_tokens_mistral': 248, 'n_tokens_neox': 233, 'n_words': 101}