(chinese_string, system)
| 243 | return m |
| 244 | |
| 245 | def string2symbols(chinese_string, system): |
| 246 | int_string, dec_string = chinese_string, '' |
| 247 | for p in [system.math.point.simplified, system.math.point.traditional]: |
| 248 | if p in chinese_string: |
| 249 | int_string, dec_string = chinese_string.split(p) |
| 250 | break |
| 251 | return [get_symbol(c, system) for c in int_string], \ |
| 252 | [get_symbol(c, system) for c in dec_string] |
| 253 | |
| 254 | def correct_symbols(integer_symbols, system): |
| 255 | """ |