Spaces:
Sleeping
Sleeping
ahmedfaiyaz
commited on
Commit
•
5f7ac8a
1
Parent(s):
248975b
fixed faulty mappings
Browse files
app.py
CHANGED
@@ -103,120 +103,119 @@ character_mappings = {
|
|
103 |
'ম্ম': 82,
|
104 |
'ন্ঠ': 83,
|
105 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
-
|
108 |
-
|
109 |
-
'আ': 1,
|
110 |
-
'ই': 2,
|
111 |
-
'ঈ': 3,
|
112 |
-
'উ': 4,
|
113 |
-
'ঊ': 5,
|
114 |
-
'ঋ': 6,
|
115 |
-
'এ': 7,
|
116 |
-
'ঐ': 8,
|
117 |
-
'ও': 9,
|
118 |
-
'ঔ': 10,
|
119 |
-
'ক': 11,
|
120 |
-
'খ': 12,
|
121 |
-
'গ': 13,
|
122 |
-
'ঘ': 14,
|
123 |
-
'ঙ': 15,
|
124 |
-
'চ': 16,
|
125 |
-
'ছ': 17,
|
126 |
-
'জ': 18,
|
127 |
-
'ঝ': 19,
|
128 |
-
'ঞ': 20,
|
129 |
-
'ট': 21,
|
130 |
-
'ঠ': 22,
|
131 |
-
'ড': 23,
|
132 |
-
'ঢ': 24,
|
133 |
-
'ণ': 25,
|
134 |
-
'ত': 26,
|
135 |
-
'থ': 27,
|
136 |
-
'দ': 28,
|
137 |
-
'ধ': 29,
|
138 |
-
'ন': 30,
|
139 |
-
'প': 31,
|
140 |
-
'ফ': 32,
|
141 |
-
'ব': 33,
|
142 |
-
'ভ': 34,
|
143 |
-
'ম': 35,
|
144 |
-
'য': 36,
|
145 |
-
'র': 37,
|
146 |
-
'ল': 38,
|
147 |
-
'শ': 39,
|
148 |
-
'ষ': 40,
|
149 |
-
'স': 41,
|
150 |
-
'হ': 42,
|
151 |
-
'ড়': 43,
|
152 |
-
'ঢ়': 44,
|
153 |
-
'য়': 45,
|
154 |
-
'ৎ': 46,
|
155 |
-
'ং': 47,
|
156 |
-
'ঃ': 48,
|
157 |
-
'ঁ': 49,
|
158 |
-
'ব্দ': 50,
|
159 |
-
'ঙ্গ': 51,
|
160 |
-
'স্ক': 52,
|
161 |
-
'স্ফ': 53,
|
162 |
-
'চ্ছ': 54,
|
163 |
-
'স্থ': 55,
|
164 |
-
'ক্ত': 56,
|
165 |
-
'স্ন': 57,
|
166 |
-
'ষ্ণ': 58,
|
167 |
-
'ম্প': 59,
|
168 |
-
'প্ত': 60,
|
169 |
-
'ম্ব': 61,
|
170 |
-
'ত্থ': 62,
|
171 |
-
'দ্ভ': 63,
|
172 |
-
'ষ্ঠ': 64,
|
173 |
-
'ল্প': 65,
|
174 |
-
'ষ্প': 66,
|
175 |
-
'ন্দ': 67,
|
176 |
-
'ন্ধ': 68,
|
177 |
-
'স্ম': 69,
|
178 |
-
'ণ্ঠ': 70,
|
179 |
-
'স্ত': 71,
|
180 |
-
'ষ্ট': 72,
|
181 |
-
'ন্ম': 73,
|
182 |
-
'ত্ত': 74,
|
183 |
-
'ঙ্খ': 75,
|
184 |
-
'ত্ন': 76,
|
185 |
-
'ন্ড': 77,
|
186 |
-
'জ্ঞ': 78,
|
187 |
-
'ড্ড': 79,
|
188 |
-
'ক্ষ': 80,
|
189 |
-
'দ্ব': 81,
|
190 |
-
'চ্চ': 82,
|
191 |
-
'ক্র': 83,
|
192 |
-
'দ্দ': 84,
|
193 |
-
'জ্জ': 85,
|
194 |
-
'ক্ক': 86,
|
195 |
-
'ন্ত': 87,
|
196 |
-
'ক্ট': 88,
|
197 |
-
'ঞ্চ': 89,
|
198 |
-
'ট্ট': 90,
|
199 |
-
'শ্চ': 91,
|
200 |
-
'ক্স': 92,
|
201 |
-
'জ্ব': 93,
|
202 |
-
'ঞ্জ': 94,
|
203 |
-
'দ্ধ': 95,
|
204 |
-
'ন্ন': 96,
|
205 |
-
'ঘ্ন': 97,
|
206 |
-
'ক্ল': 98,
|
207 |
-
'হ্ন': 99,
|
208 |
-
'০': 100,
|
209 |
-
'১': 101,
|
210 |
-
'২': 102,
|
211 |
-
'৩': 103,
|
212 |
-
'৪': 104,
|
213 |
-
'৫': 105,
|
214 |
-
'৬': 106,
|
215 |
-
'৭': 107,
|
216 |
-
'৮': 108,
|
217 |
-
'৯': 109
|
218 |
-
}
|
219 |
-
cmaterdb_mappings={'প্র': 0,
|
220 |
'ঙ্গ': 1,
|
221 |
'ক্ষ': 2,
|
222 |
'ত্র': 3,
|
|
|
103 |
'ম্ম': 82,
|
104 |
'ন্ঠ': 83,
|
105 |
}
|
106 |
+
ekush_mappings = {'অ': 1,
|
107 |
+
'আ': 2,
|
108 |
+
'ই': 3,
|
109 |
+
'ঈ': 4,
|
110 |
+
'উ': 5,
|
111 |
+
'ঊ': 6,
|
112 |
+
'ঋ': 7,
|
113 |
+
'এ': 8,
|
114 |
+
'ঐ': 9,
|
115 |
+
'ও': 10,
|
116 |
+
'ঔ': 11,
|
117 |
+
'ক': 12,
|
118 |
+
'খ': 13,
|
119 |
+
'গ': 14,
|
120 |
+
'ঘ': 15,
|
121 |
+
'ঙ': 16,
|
122 |
+
'চ': 17,
|
123 |
+
'ছ': 18,
|
124 |
+
'জ': 19,
|
125 |
+
'ঝ': 20,
|
126 |
+
'ঞ': 21,
|
127 |
+
'ট': 22,
|
128 |
+
'ঠ': 23,
|
129 |
+
'ড': 24,
|
130 |
+
'ঢ': 25,
|
131 |
+
'ণ': 26,
|
132 |
+
'ত': 27,
|
133 |
+
'থ': 28,
|
134 |
+
'দ': 29,
|
135 |
+
'ধ': 30,
|
136 |
+
'ন': 31,
|
137 |
+
'প': 32,
|
138 |
+
'ফ': 33,
|
139 |
+
'ব': 34,
|
140 |
+
'ভ': 35,
|
141 |
+
'ম': 36,
|
142 |
+
'য': 37,
|
143 |
+
'র': 38,
|
144 |
+
'ল': 39,
|
145 |
+
'শ': 40,
|
146 |
+
'ষ': 41,
|
147 |
+
'স': 42,
|
148 |
+
'হ': 43,
|
149 |
+
'ড়': 44,
|
150 |
+
'ঢ়': 45,
|
151 |
+
'য়': 46,
|
152 |
+
'ৎ': 47,
|
153 |
+
'ং': 48,
|
154 |
+
'ঃ': 49,
|
155 |
+
'ঁ': 50,
|
156 |
+
'ব্দ': 51,
|
157 |
+
'ঙ্গ': 52,
|
158 |
+
'স্ক': 53,
|
159 |
+
'স্ফ': 54,
|
160 |
+
'চ্ছ': 55,
|
161 |
+
'স্থ': 56,
|
162 |
+
'ক্ত': 57,
|
163 |
+
'স্ন': 58,
|
164 |
+
'ষ্ণ': 59,
|
165 |
+
'ম্প': 60,
|
166 |
+
'প্ত': 61,
|
167 |
+
'ম্ব': 62,
|
168 |
+
'ত্থ': 63,
|
169 |
+
'দ্ভ': 64,
|
170 |
+
'ষ্ঠ': 65,
|
171 |
+
'ল্প': 66,
|
172 |
+
'ষ্প': 67,
|
173 |
+
'ন্দ': 68,
|
174 |
+
'ন্ধ': 69,
|
175 |
+
'স্ম': 70,
|
176 |
+
'ণ্ঠ': 71,
|
177 |
+
'স্ত': 72,
|
178 |
+
'ষ্ট': 73,
|
179 |
+
'ন্ম': 74,
|
180 |
+
'ত্ত': 75,
|
181 |
+
'ঙ্খ': 76,
|
182 |
+
'ত্ন': 77,
|
183 |
+
'ন্ড': 78,
|
184 |
+
'জ্ঞ': 79,
|
185 |
+
'ড্ড': 80,
|
186 |
+
'ক্ষ': 81,
|
187 |
+
'দ্ব': 82,
|
188 |
+
'চ্চ': 83,
|
189 |
+
'ক্র': 84,
|
190 |
+
'দ্দ': 85,
|
191 |
+
'জ্জ': 86,
|
192 |
+
'ক্ক': 87,
|
193 |
+
'ন্ত': 88,
|
194 |
+
'ক্ট': 89,
|
195 |
+
'ঞ্চ': 90,
|
196 |
+
'ট্ট': 91,
|
197 |
+
'শ্চ': 92,
|
198 |
+
'ক্স': 93,
|
199 |
+
'জ্ব': 94,
|
200 |
+
'ঞ্জ': 95,
|
201 |
+
'দ্ধ': 96,
|
202 |
+
'ন্ন': 97,
|
203 |
+
'ঘ্ন': 98,
|
204 |
+
'ক্ল': 99,
|
205 |
+
'হ্ন': 100,
|
206 |
+
'০': 101,
|
207 |
+
'১': 102,
|
208 |
+
'২': 103,
|
209 |
+
'৩': 104,
|
210 |
+
'৪': 105,
|
211 |
+
'৫': 106,
|
212 |
+
'৬': 107,
|
213 |
+
'৭': 108,
|
214 |
+
'৮': 109,
|
215 |
+
'৯': 110}
|
216 |
|
217 |
+
cmaterdb_mappings={
|
218 |
+
'প্র': 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
'ঙ্গ': 1,
|
220 |
'ক্ষ': 2,
|
221 |
'ত্র': 3,
|