<commit_before><commit_msg>gen test data: add GenerateCategory sample<commit_after>#!/usr/bin/env php
<?php

use Fc2blog\Tests\Helper\SampleDataGenerator\GenerateSampleCategory;

include __DIR__ . "/bootstrap.php";

$generator = new GenerateSampleCategory();

# データ生成例
$generator->generateSampleCategory('testblog2');

# リスト取得例
$list = $generator->getCategoryList('testblog2');
var_dump($list);

# 全削除例
$generator->syncRemoveAllCategories('testblog2');

# 全削除の確認
$list = $generator->getCategoryList('testblog2');
var_dump($list);
{'fraction_non_alphanumeric': 0.14744801512287334, 'fraction_numerical': 0.00945179584120983, 'mean_word_length': 8.298245614035087, 'pattern_counts': {'":': 0, '<': 4, '<?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': '5202199', 'n_tokens_mistral': 186, 'n_tokens_neox': 184, 'n_words': 28}