File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
version = " 4.0.*"
2
- python2 = true
3
- requires = []
Original file line number Diff line number Diff line change 1
- class InputState ( object ) :
1
+ class InputState :
2
2
PURE_ASCII : int
3
3
ESC_ASCII : int
4
4
HIGH_BYTE : int
5
5
6
- class LanguageFilter ( object ) :
6
+ class LanguageFilter :
7
7
CHINESE_SIMPLIFIED : int
8
8
CHINESE_TRADITIONAL : int
9
9
JAPANESE : int
@@ -13,25 +13,25 @@ class LanguageFilter(object):
13
13
CHINESE : int
14
14
CJK : int
15
15
16
- class ProbingState ( object ) :
16
+ class ProbingState :
17
17
DETECTING : int
18
18
FOUND_IT : int
19
19
NOT_ME : int
20
20
21
- class MachineState ( object ) :
21
+ class MachineState :
22
22
START : int
23
23
ERROR : int
24
24
ITS_ME : int
25
25
26
- class SequenceLikelihood ( object ) :
26
+ class SequenceLikelihood :
27
27
NEGATIVE : int
28
28
UNLIKELY : int
29
29
LIKELY : int
30
30
POSITIVE : int
31
31
@classmethod
32
32
def get_num_categories (cls ) -> int : ...
33
33
34
- class CharacterCategory ( object ) :
34
+ class CharacterCategory :
35
35
UNDEFINED : int
36
36
LINE_BREAK : int
37
37
SYMBOL : int
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class _IntermediateResultType(TypedDict):
12
12
confidence : float
13
13
language : str | None
14
14
15
- class UniversalDetector ( object ) :
15
+ class UniversalDetector :
16
16
MINIMUM_THRESHOLD : float
17
17
HIGH_BYTE_DETECTOR : Pattern [bytes ]
18
18
ESC_DETECTOR : Pattern [bytes ]
You can’t perform that action at this time.
0 commit comments