<commit_before>package com.github.czyzby.setup.config

import com.badlogic.gdx.Gdx
import com.badlogic.gdx.scenes.scene2d.Actor
import com.github.czyzby.autumn.annotation.Component
import com.github.czyzby.autumn.annotation.Initiate
import com.github.czyzby.autumn.mvc.component.ui.InterfaceService
import com.github.czyzby.autumn.mvc.component.ui.SkinService
import com.github.czyzby.autumn.mvc.config.AutumnActionPriority
import com.github.czyzby.autumn.mvc.stereotype.preference.*
import com.github.czyzby.lml.parser.LmlParser
import com.github.czyzby.lml.parser.tag.LmlAttribute
import com.github.czyzby.lml.parser.tag.LmlTag
import com.github.czyzby.lml.vis.parser.impl.VisLmlSyntax
import com.github.czyzby.lml.vis.parser.impl.nongwt.ExtendedVisLml
import com.kotcrab.vis.ui.VisUI
import com.kotcrab.vis.ui.widget.Tooltip
import com.kotcrab.vis.ui.widget.VisLabel
import com.kotcrab.vis.ui.widget.file.FileChooser

/**
 * Configures Autumn MVC application.
 * @author MJ
 */
@Component
class Configuration {
    companion object {
        const val WIDTH = 520
        const val HEIGHT = 620
        const val PREFERENCES_PATH = "gdx-setup-prefs"
    }

    @LmlParserSyntax val syntax = VisLmlSyntax()
    @LmlMacro val macro = "templates/macros.lml"

    @I18nBundle val bundle = "i18n/nls"
    @I18nLocale(propertiesPath = PREFERENCES_PATH, defaultLocale = "en") val localePreference = "locale"
    @AvailableLocales val availableLocales = arrayOf("en", "pl")
    @Preference val preferencesPath = PREFERENCES_PATH;

    @Initiate(priority = AutumnActionPriority.TOP_PRIORITY)
    fun initiate(skinService: SkinService, interfaceService: InterfaceService) {<commit_msg>Resized application.<commit_after>package com.github.czyzby.setup.config

import com.badlogic.gdx.Gdx
import com.badlogic.gdx.scenes.scene2d.Actor
import com.github.czyzby.autumn.annotation.Component
import com.github.czyzby.autumn.annotation.Initiate
import com.github.czyzby.autumn.mvc.component.ui.InterfaceService
import com.github.czyzby.autumn.mvc.component.ui.SkinService
import com.github.czyzby.autumn.mvc.config.AutumnActionPriority
import com.github.czyzby.autumn.mvc.stereotype.preference.*
import com.github.czyzby.lml.parser.LmlParser
import com.github.czyzby.lml.parser.tag.LmlAttribute
import com.github.czyzby.lml.parser.tag.LmlTag
import com.github.czyzby.lml.vis.parser.impl.VisLmlSyntax
import com.github.czyzby.lml.vis.parser.impl.nongwt.ExtendedVisLml
import com.kotcrab.vis.ui.VisUI
import com.kotcrab.vis.ui.widget.Tooltip
import com.kotcrab.vis.ui.widget.VisLabel
import com.kotcrab.vis.ui.widget.file.FileChooser

/**
 * Configures Autumn MVC application.
 * @author MJ
 */
@Component
class Configuration {
    companion object {
        const val WIDTH = 600
        const val HEIGHT = 640
        const val PREFERENCES_PATH = "gdx-setup-prefs"
    }

    @LmlParserSyntax val syntax = VisLmlSyntax()
    @LmlMacro val macro = "templates/macros.lml"

    @I18nBundle val bundle = "i18n/nls"
    @I18nLocale(propertiesPath = PREFERENCES_PATH, defaultLocale = "en") val localePreference = "locale"
    @AvailableLocales val availableLocales = arrayOf("en", "pl")
    @Preference val preferencesPath = PREFERENCES_PATH;

    @Initiate(priority = AutumnActionPriority.TOP_PRIORITY)
    fun initiate(skinService: SkinService, interfaceService: InterfaceService) {
{'fraction_non_alphanumeric': 0.10377639012786202, 'fraction_numerical': 0.007731192387749034, 'mean_word_length': 4.672849915682968, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7659450', 'n_tokens_mistral': 1205, 'n_tokens_neox': 1182, 'n_words': 189}