<commit_before><h3>Boolean search string generator</h3>
<p>
  Write your synonyms on separate lines in each box.
  <br/> Omit <b>" "</b> for phrases (the search generator adds these to the search).
  <br/> Use the wildcard operators <b>*</b> and <b>?</b> where needed.
  <br/>For example:
</p>
<ul>
  <li><strong>interven*</strong> will find <em>intervene, intervening, intervention</em>, etc.</li>
  <li><strong>colo?r</strong> will find <em>color</em> and <em>colour</em></li>
</ul>

<button id="addConcept">Add new concept</button>
<div id="container">
  <div class="booContainer">
    <h4>Concept 1</h4>
    <textarea class="concept"></textarea>
    <br/>
    <span style="visibility: hidden;">
      <input type="radio" name="concept1" value="and" checked> AND
      <input type="radio" name="concept1" value="not"> NOT
    </span>
  </div>

  <div class="booContainer">
    <h4>Concept 2</h4>
    <textarea class="concept"></textarea>
    <br/>
    <input type="radio" name="concept2" value="and" checked> AND
    <input type="radio" name="concept2" value="not"> NOT
  </div>
</div>
<button id="boo">Create search string</button>
<button id="resetAll">Reset</button>

<h4>Search string</h4>
<textarea id="search"></textarea><commit_msg>Update booContent.html<commit_after><h3>Boolean search string generator</h3>
<p>
  Write your synonyms on separate lines in each box.
  <br/> Omit <b>" "</b> for phrases (the search generator adds these to the search).
  <br/> Use the wildcard operators <b>*</b> and <b>?</b> where needed.
  <br/>For example:
</p>
<ul>
  <li><strong>interven*</strong> will find <em>intervene, intervening, intervention</em>, etc.</li>
  <li><strong>colo?r</strong> will find <em>color</em> and <em>colour</em></li>
</ul>

<div id="container">
  <div class="booContainer">
    <h4>Concept 1</h4>
    <textarea class="concept"></textarea>
    <br/>
    <span style="visibility: hidden;">
      <input type="radio" name="concept1" value="and" checked> AND
      <input type="radio" name="concept1" value="not"> NOT
    </span>
  </div>

  <div class="booContainer">
    <h4>Concept 2</h4>
    <textarea class="concept"></textarea>
    <br/>
    <input type="radio" name="concept2" value="and" checked> AND
    <input type="radio" name="concept2" value="not"> NOT
  </div>
</div>
<button onclick="boo()">Create search string</button>
<button onclick="resetAll()">Reset</button>
<button onclick="addConcept()">Add new concept</button>

<h4>Search string</h4>
<textarea id="search"></textarea>
{'fraction_non_alphanumeric': 0.19371519490851233, 'fraction_numerical': 0.011137629276054098, 'mean_word_length': 4.576496674057649, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '7080567', 'n_tokens_mistral': 894, 'n_tokens_neox': 855, 'n_words': 230}