<commit_before># -*- coding: utf-8 -*-
"""

"""
from __future__ import unicode_literals, absolute_import
from enum import IntEnum
import guessit


class Classification(object):
    """
    Provides classification info for a parsed release name
    """

    _key_sep = "-"

    def __init__(self):
        self.name = ""
        self.episode = None
        self.format = None
        self.resolution = None
        self.codec_video = None
        self.codec_audio = None
        self.season = None<commit_msg>Initial classifiers added<commit_after># -*- coding: utf-8 -*-
"""

"""
from __future__ import unicode_literals, absolute_import
from enum import IntEnum
import guessit


class Resolutions(IntEnum):
    UNKNOWN = 0
    SD = 1
    P480 = 2
    P576 = 3
    P720 = 4
    I1080 = 5
    P1080 = 6
    K4 = 7


class Container(IntEnum):
    UNKNOWN = 0
    MP4 = 1
    AVI = 2
    MKV = 3
    VOB = 4
    MPEG = 5
    ISO = 6
    WMV = 7
    TS = 8
    M4V = 9
    M2TS = 10


class Codecs(IntEnum):
    XVID = 10
    X264 = 22
    MPEG2 = 30
    DIVX = 40
    DVDR = 50
    VC_1 = 60
    H264 = 70
    WMV = 80
    BD = 90
    X264_HI10P = 100


class Sources(IntEnum):
    UNKNOWN = 0
    DSR = 1
    DVDRIP = 2
    TVRIP = 3
    VHSRIP = 4
    BLURAY = 5
    BDRIP = 6
    BRRIP = 7
    DVD5 = 8
    DVD9 = 9
    HDDVD = 10
    WEB_DL = 11
    WEBRIP = 12
    BD5 = 13
    BD9 = 14
    BD25 = 15


class Origin(IntEnum):
    UNKNOWN = 0
    SCENE = 1
    P2P = 2

    # Special case for stopping spread of internal releases if wanted
    P2P_INTERNAL = 3

class Classification(object):
    """
    Provides classification info for a parsed release name
    """

    _key_sep = "-"

    def __init__(self):
        self.name = ""
        self.episode = None
        self.format = None
        self.resolution = None
        self.codec_video = None
        self.codec_audio = None
        self.season = None
{'fraction_non_alphanumeric': 0.08738880167451596, 'fraction_numerical': 0.058084772370486655, 'mean_word_length': 1.8159057437407953, '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': '4194549', 'n_tokens_mistral': 774, 'n_tokens_neox': 653, 'n_words': 199}