<commit_before><?php
namespace CheerfulLab\FrontendSpelling;

use System\Classes\PluginBase;

/**
 * frontend-spelling Plugin Information File
 */
class Plugin extends PluginBase
{

    /**
     * Returns information about this plugin.
     *
     * @return array
     */
    public function pluginDetails()
    {
        return [
            'name'        => 'frontendspelling',
            'description' => 'Response spelling from users',
            'author'      => 'CheerfulLab',
            'icon'        => 'icon-envelope-square'
        ];
    }

    public function registerNavigation()
    {
        return [
            'catalog' => [
                'label'       => 'Spelling requests',
                'url' => \Backend::url('cheerfullab/frontendspelling/spellingrequests'),
                'icon'        => 'icon-envelope-square',
                'order'       => 500,
                'sideMenu' => [
                    'spelling' => [
                        'label'       => 'Spelling requests',
                        'icon'        => 'icon-list-alt',
                        'url' => \Backend::url('cheerfullab/frontendspelling/spellingrequests'),
                    ],
                ]

            ]
        ];
    }

    public function registerComponents()
    {
        return [
            'CheerfulLab\frontendspelling\components\Frontendspelling' => 'frontendspellings'
        ];<commit_msg>change name to more beauty<commit_after><?php
namespace CheerfulLab\FrontendSpelling;

use System\Classes\PluginBase;

/**
 * frontend-spelling Plugin Information File
 */
class Plugin extends PluginBase
{

    /**
     * Returns information about this plugin.
     *
     * @return array
     */
    public function pluginDetails()
    {
        return [
            'name' => 'Frontend Spelling',
            'description' => 'Response spelling from users',
            'author'      => 'CheerfulLab',
            'icon'        => 'icon-envelope-square'
        ];
    }

    public function registerNavigation()
    {
        return [
            'catalog' => [
                'label'       => 'Spelling requests',
                'url' => \Backend::url('cheerfullab/frontendspelling/spellingrequests'),
                'icon'        => 'icon-envelope-square',
                'order'       => 500,
                'sideMenu' => [
                    'spelling' => [
                        'label'       => 'Spelling requests',
                        'icon'        => 'icon-list-alt',
                        'url' => \Backend::url('cheerfullab/frontendspelling/spellingrequests'),
                    ],
                ]

            ]
        ];
    }

    public function registerComponents()
    {
        return [
            'CheerfulLab\frontendspelling\components\Frontendspelling' => 'frontendspellings'
        ];
{'fraction_non_alphanumeric': 0.11917280056081318, 'fraction_numerical': 0.002103049421661409, 'mean_word_length': 1.4497854077253218, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, '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': '5030782', 'n_tokens_mistral': 772, 'n_tokens_neox': 731, 'n_words': 133}