<commit_before>#include <unicode/fmtable.h>
#include <unicode/msgfmt.h>

#include <Poco/DateTime.h>
#include <Poco/Exception.h>
#include <Poco/Logger.h>
#include <Poco/Timestamp.h>

#include "di/Injectable.h"
#include "l10n/Locale.h"
#include "l10n/IcuLocaleImpl.h"
#include "l10n/IcuTranslator.h"
#include "util/ClassInfo.h"

BEEEON_OBJECT_BEGIN(BeeeOn, IcuTranslatorFactory)
BEEEON_OBJECT_TEXT("bundleName", &IcuTranslatorFactory::setBundleName)
BEEEON_OBJECT_END(BeeeOn, IcuTranslatorFactory)

using namespace std;
using namespace Poco;
using namespace Poco::Dynamic;
using namespace BeeeOn;
<commit_msg>IcuTranslatorFactory: make castable to TranslatorFactory<commit_after>#include <unicode/fmtable.h>
#include <unicode/msgfmt.h>

#include <Poco/DateTime.h>
#include <Poco/Exception.h>
#include <Poco/Logger.h>
#include <Poco/Timestamp.h>

#include "di/Injectable.h"
#include "l10n/Locale.h"
#include "l10n/IcuLocaleImpl.h"
#include "l10n/IcuTranslator.h"
#include "util/ClassInfo.h"

BEEEON_OBJECT_BEGIN(BeeeOn, IcuTranslatorFactory)
BEEEON_OBJECT_CASTABLE(TranslatorFactory)
BEEEON_OBJECT_TEXT("bundleName", &IcuTranslatorFactory::setBundleName)
BEEEON_OBJECT_END(BeeeOn, IcuTranslatorFactory)

using namespace std;
using namespace Poco;
using namespace Poco::Dynamic;
using namespace BeeeOn;

{'fraction_non_alphanumeric': 0.12240184757505773, 'fraction_numerical': 0.009237875288683603, 'mean_word_length': 8.420289855072463, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '5304384', 'n_tokens_mistral': 512, 'n_tokens_neox': 500, 'n_words': 85}