<commit_before><p>
<!-- #docregion mat-badge-overlap -->
  <span matBadge="4" matBadgeOverlap="false">Text with a badge</span>
<!-- #enddocregion mat-badge-overlap -->
</p>

<p>
<!-- #docregion mat-badge-size -->
    <span matBadge="1" matBadgeSize="large">Text with large badge</span>
<!-- #enddocregion mat-badge-size -->
</p>

<p>
  Button with a badge on the left
<!-- #docregion mat-badge-position -->
  <button mat-raised-button color="primary"
      matBadge="8" matBadgePosition="before" matBadgeColor="accent">
    Action
  </button>
<!-- #enddocregion mat-badge-position -->
</p>

<p>
    Button toggles badge visibility
<!-- #docregion mat-badge-hide -->
    <button mat-raised-button matBadge="7" [matBadgeHidden]="hidden" (click)="toggleBadgeVisibility()">
        Hide
    </button>
<!-- #enddocregion mat-badge-hide -->
</p>

<p>
  Icon with a badge
<!-- #dorection mat-badge-color -->
  <mat-icon matBadge="15" matBadgeColor="warn">home</mat-icon>
<!-- #enddocregion mat-badge-color -->
    <!-- Include text description of the icon's meaning for screen-readers -->
    <span class="cdk-visually-hidden">
      Example with a home icon with overlaid badge showing the number 15
    </span>
</p>

<commit_msg>docs: fix syntax error in doc region (#19683)<commit_after><p>
<!-- #docregion mat-badge-overlap -->
  <span matBadge="4" matBadgeOverlap="false">Text with a badge</span>
<!-- #enddocregion mat-badge-overlap -->
</p>

<p>
<!-- #docregion mat-badge-size -->
    <span matBadge="1" matBadgeSize="large">Text with large badge</span>
<!-- #enddocregion mat-badge-size -->
</p>

<p>
  Button with a badge on the left
<!-- #docregion mat-badge-position -->
  <button mat-raised-button color="primary"
      matBadge="8" matBadgePosition="before" matBadgeColor="accent">
    Action
  </button>
<!-- #enddocregion mat-badge-position -->
</p>

<p>
    Button toggles badge visibility
<!-- #docregion mat-badge-hide -->
    <button mat-raised-button matBadge="7" [matBadgeHidden]="hidden" (click)="toggleBadgeVisibility()">
        Hide
    </button>
<!-- #enddocregion mat-badge-hide -->
</p>

<p>
  Icon with a badge
<!-- #docregion mat-badge-color -->
  <mat-icon matBadge="15" matBadgeColor="warn">home</mat-icon>
<!-- #enddocregion mat-badge-color -->
    <!-- Include text description of the icon's meaning for screen-readers -->
    <span class="cdk-visually-hidden">
      Example with a home icon with overlaid badge showing the number 15
    </span>
</p>


{'fraction_non_alphanumeric': 0.1814516129032258, 'fraction_numerical': 0.008467741935483872, 'mean_word_length': 3.462230215827338, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '4827235', 'n_tokens_mistral': 871, 'n_tokens_neox': 834, 'n_words': 205}