napatswift commited on
Commit
39be479
·
1 Parent(s): fa55425
Files changed (2) hide show
  1. model/recog/config.py +1 -1
  2. th_dict.txt +92 -0
model/recog/config.py CHANGED
@@ -67,7 +67,7 @@ file_client_args = dict(backend='disk')
67
  dictionary = dict(
68
  type='Dictionary',
69
  dict_file=
70
- '/content/mmocr/configs/textrecog/nrtr/../../../dicts/thai_digits_symbols.txt',
71
  with_padding=True,
72
  with_unknown=True,
73
  same_start_end=True,
 
67
  dictionary = dict(
68
  type='Dictionary',
69
  dict_file=
70
+ 'th_dict.txt',
71
  with_padding=True,
72
  with_unknown=True,
73
  same_start_end=True,
th_dict.txt ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (
2
+ )
3
+ +
4
+ -
5
+ .
6
+ /
7
+ 0
8
+ 1
9
+ 2
10
+ 3
11
+ 4
12
+ 5
13
+ 6
14
+ 7
15
+ 8
16
+ 9
17
+ :
18
+ =
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+