<commit_before>//=============================================================================
// DhoomTextToIcon.js
//=============================================================================
var Imported = Imported || {};
Imported.Dhoom_TexttoIcon = true;

var Dhoom = Dhoom || {};
Dhoom.TexttoIcon = Dhoom.TexttoIcon || {};

/*:
 * @plugindesc Draw icon instead of text. Version 1.1
 * @author DrDhoom
 *
 * @param Text and Icon
 * @desc Texts that will be converted into icons. Icon can be more than 1. [Text, Icon Index] | [Text, Icon Index] | ...
 * @default ['Skill', 20] | ['^^POWERICON^^', 11] | ['Harold', 20, 21, 22, 23, 24, 25, 26]
 *
 * @param Active Scene
 * @desc In which scenes this script will be applied? If Empty, it'll be applied to all scene. [Scene, Scene, ...]
 * @default [Scene_Map, Scene_Menu]
 *
 * @help This plugin does not provide plugin commands.
 */

//test change.

Dhoom.Parameters = PluginManager.parameters('DhoomTextToIcon');

Dhoom.TexttoIcon.txtIconArray = Dhoom.Parameters['Text and Icon'].split('|').map(function(str) {
    return eval(str.trim());
});
Dhoom.TexttoIcon.txtScene = eval(Dhoom.Parameters['Active Scene'] || '[]');

//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
// Window_Base
//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Dhoom.TexttoIcon.Window_Base_convertEscapeCharacters = Window_Base.prototype.convertEscapeCharacters;
Window_Base.prototype.convertEscapeCharacters = function(text) {
    text = Dhoom.TexttoIcon.Window_Base_convertEscapeCharacters.call(this, text);
    if (this.isTextToIconEnabled()) {
        for (var i in Dhoom.TexttoIcon.txtIconArray) {<commit_msg>testing again<commit_after>//=============================================================================
// DhoomTextToIcon.js
//=============================================================================
var Imported = Imported || {};
Imported.Dhoom_TexttoIcon = true;

var Dhoom = Dhoom || {};
Dhoom.TexttoIcon = Dhoom.TexttoIcon || {};

/*:
 * @plugindesc Draw icon instead of text. Version 1.1
 * @author DrDhoom
 *
 * @param Text and Icon
 * @desc Texts that will be converted into icons. Icon can be more than 1. [Text, Icon Index] | [Text, Icon Index] | ...
 * @default ['Skill', 20] | ['^^POWERICON^^', 11] | ['Harold', 20, 21, 22, 23, 24, 25, 26]
 *
 * @param Active Scene
 * @desc In which scenes this script will be applied? If Empty, it'll be applied to all scene. [Scene, Scene, ...]
 * @default [Scene_Map, Scene_Menu]
 *
 * @help This plugin does not provide plugin commands.
 */

//test change.aaa

Dhoom.Parameters = PluginManager.parameters('DhoomTextToIcon');

Dhoom.TexttoIcon.txtIconArray = Dhoom.Parameters['Text and Icon'].split('|').map(function(str) {
    return eval(str.trim());
});
Dhoom.TexttoIcon.txtScene = eval(Dhoom.Parameters['Active Scene'] || '[]');

//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
// Window_Base
//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Dhoom.TexttoIcon.Window_Base_convertEscapeCharacters = Window_Base.prototype.convertEscapeCharacters;
Window_Base.prototype.convertEscapeCharacters = function(text) {
    text = Dhoom.TexttoIcon.Window_Base_convertEscapeCharacters.call(this, text);
    if (this.isTextToIconEnabled()) {
        for (var i in Dhoom.TexttoIcon.txtIconArray) {
{'fraction_non_alphanumeric': 0.21284080914687775, 'fraction_numerical': 0.012313104661389622, 'mean_word_length': 5.486692015209125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3991464', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1112, 'n_words': 245}