<commit_before><?php

/**
 * @author <NAME> <<EMAIL>>
 * @copyright 2012 <NAME>
 * @package Biriani
 */

/**
 * Class Biriani_Registry
 * Registers the available extractable service classes
 */
class Biriani_Registry{
    /**
     * Extractable service classes. Class names should be sorted from most
     * preferable to lest preferable.
     * @var array
     */
    public static $services = array(
        'FeedBiriani',
        'TwitterBiriani',
        'WordpressBiriani'
    );
}

?>
<commit_msg>1.Unregistered Non-existing Twitter and wordpress parser<commit_after><?php

/**
 * @author <NAME> <<EMAIL>>
 * @copyright 2012 <NAME>
 * @package Biriani
 */

/**
 * Class Biriani_Registry
 * Registers the available extractable service classes
 */
class Biriani_Registry {

    /**
     * Extractable service classes. Class names should be sorted from most
     * preferable to lest preferable.
     * @var array
     */
    public static $services = array(
        'FeedBiriani' => 'FeedBiriani.php',
        'HTMLBiriani' => 'HTMLBiriani.php'
    );

    public static function exists($extractable) {
        return isset(self::$services[$extractable]);
    }

    public static function getfilename($extractable) {
        if (self::exists($extractable)) {
            return self::$services[$extractable];
        } else {
            $message = "Extractable '$extractable' is not found in Registry.";
            throw new BirianiMatchedExtractableNotFoundException($message);
        }
    }

}
?>

{'fraction_non_alphanumeric': 0.11737400530503979, 'fraction_numerical': 0.005968169761273209, 'mean_word_length': 2.801007556675063, 'pattern_counts': {'":': 0, '<': 13, '<?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': '6395950', 'n_tokens_mistral': 439, 'n_tokens_neox': 414, 'n_words': 116}