<commit_before><?php

/** @noinspection ALL */

namespace wcf\system\language;

use wcf\system\WCF;

/**
 * Provides functions for pluralization rules.
 *
 * @author  <NAME>
 * @copyright   2001-2020 WoltLab GmbH
 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
 * @package WoltLabSuite\Core\System\Language
 * @since   5.3
 * @see https://unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html
 */
class I18nPlural
{
    const PLURAL_FEW = 'few';

    const PLURAL_MANY = 'many';

    const PLURAL_ONE = 'one';

    const PLURAL_OTHER = 'other';

    const PLURAL_TWO = 'two';

    const PLURAL_ZERO = 'zero';

    /**<commit_msg>Fix reference URL for Unicode plural rules<commit_after><?php

/** @noinspection ALL */

namespace wcf\system\language;

use wcf\system\WCF;

/**
 * Provides functions for pluralization rules.
 *
 * @author  <NAME>
 * @copyright   2001-2020 WoltLab GmbH
 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
 * @package WoltLabSuite\Core\System\Language
 * @since   5.3
 * @see https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
 */
class I18nPlural
{
    const PLURAL_FEW = 'few';

    const PLURAL_MANY = 'many';

    const PLURAL_ONE = 'one';

    const PLURAL_OTHER = 'other';

    const PLURAL_TWO = 'two';

    const PLURAL_ZERO = 'zero';

    /**
{'fraction_non_alphanumeric': 0.13031358885017422, 'fraction_numerical': 0.016724738675958188, 'mean_word_length': 3.5443037974683542, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '5526756', 'n_tokens_mistral': 539, 'n_tokens_neox': 485, 'n_words': 108}