<commit_before><div class="small-12 columns">
  <span settings-trigger="right"/>
  <span ng-show="settingsOn">
    <label class="margined-hor-tiny right">
      Expand Selected
      <input
        type="checkbox"
        style="margin: 0"
        ng-model="expandSelection"/>
    </label>
    <label class="margined-hor-tiny right">
      Preselect
      <input
        type="checkbox"
        style="margin: 0"
        ng-change="plugin.preselectToggled()"
        ng-model="plugin.preselect"/>
    </label>
  </span>
</div>

<div ng-repeat="(id, analysis) in plugin.currentAnalyses()">
  <div class="small-12 columns" lang-specific>
    <p token-with-id value="analysis.string" token-id="id"/>
    <p ng-if="plugin.gloss">
      <label>Gloss
        <input
          class="compact"
          type="text"
          ng-change="plugin.updateGloss(id)"
          ng-model="analysis.gloss">
        </input>
      </label>
    </p>
    <accordion close-others="oneAtATime">
      <accordion-group
        ng-repeat="form in analysis.forms"
        is-open="expandSelection && form.selected">
        <accordion-heading>
          <div class="row" accordion-highlighter>
            <div class="columns large-3 small-5 left text">
              <span ng-style="plugin.styleOf(form)" lang-specific>{{ form.lemma }}
              <br>
              </span> {{ plugin.concatenatedAttributes(form) }}
            </div>
            <div class="columns large-4 small-5 text">{{ form.postag }}</div>
            <div class="columns large-1 hide-for-small hide-for-medium note">{{ form.origin }}</div>
            <div form-selector class="columns large-2 small-2 right end"></div>
          </div>
          <hr class="small">
        </accordion-heading>
        <div class="small-12 columns" morph-form-attributes="form" token-id="id"></div>
        <p class="small-12 columns"/>
        <hr>
      </accordion-group>
    </accordion>
  </div>
  <div ng-if="plugin.canEdit()">
    <div class="small-6 columns">
      <button
        reveal-toggle="mfc{{ id }}"
        class="micro radius">
          Create new form
      </button>
    </div>
    <morph-form-create
      id="mfc{{ id }}"
      morph-id="id"
      morph-token="analysis"
      class="hide">
    </morph-form-create>
  </div>
  <div delimiter/>
</div>
<commit_msg>Rename Gloss to Translation in the UI<commit_after><div class="small-12 columns">
  <span settings-trigger="right"/>
  <span ng-show="settingsOn">
    <label class="margined-hor-tiny right">
      Expand Selected
      <input
        type="checkbox"
        style="margin: 0"
        ng-model="expandSelection"/>
    </label>
    <label class="margined-hor-tiny right">
      Preselect
      <input
        type="checkbox"
        style="margin: 0"
        ng-change="plugin.preselectToggled()"
        ng-model="plugin.preselect"/>
    </label>
  </span>
</div>

<div ng-repeat="(id, analysis) in plugin.currentAnalyses()">
  <div class="small-12 columns" lang-specific>
    <p token-with-id value="analysis.string" token-id="id"/>
    <p ng-if="plugin.gloss">
      <label>Translation
        <input class="compact"
          type="text"
          ng-change="plugin.updateGloss(id)"
          ng-model="analysis.gloss">
        </input>
      </label>
    </p>
    <accordion close-others="oneAtATime">
      <accordion-group
        ng-repeat="form in analysis.forms"
        is-open="expandSelection && form.selected">
        <accordion-heading>
          <div class="row" accordion-highlighter>
            <div class="columns large-3 small-5 left text">
              <span ng-style="plugin.styleOf(form)" lang-specific>{{ form.lemma }}
              <br>
              </span> {{ plugin.concatenatedAttributes(form) }}
            </div>
            <div class="columns large-4 small-5 text">{{ form.postag }}</div>
            <div class="columns large-1 hide-for-small hide-for-medium note">{{ form.origin }}</div>
            <div form-selector class="columns large-2 small-2 right end"></div>
          </div>
          <hr class="small">
        </accordion-heading>
        <div class="small-12 columns" morph-form-attributes="form" token-id="id"></div>
        <p class="small-12 columns"/>
        <hr>
      </accordion-group>
    </accordion>
  </div>
  <div ng-if="plugin.canEdit()">
    <div class="small-6 columns">
      <button
        reveal-toggle="mfc{{ id }}"
        class="micro radius">
          Create new form
      </button>
    </div>
    <morph-form-create
      id="mfc{{ id }}"
      morph-id="id"
      morph-token="analysis"
      class="hide">
    </morph-form-create>
  </div>
  <div delimiter/>
</div>

{'fraction_non_alphanumeric': 0.16445396145610278, 'fraction_numerical': 0.007708779443254818, 'mean_word_length': 2.2103092783505156, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '781147', 'n_tokens_mistral': 1485, 'n_tokens_neox': 1447, 'n_words': 296}