(chinese_string, system)
| 629 | return m |
| 630 | |
| 631 | def string2symbols(chinese_string, system): |
| 632 | int_string, dec_string = chinese_string, "" |
| 633 | for p in [system.math.point.simplified, system.math.point.traditional]: |
| 634 | if p in chinese_string: |
| 635 | int_string, dec_string = chinese_string.split(p) |
| 636 | break |
| 637 | return [get_symbol(c, system) for c in int_string], [ |
| 638 | get_symbol(c, system) for c in dec_string |
| 639 | ] |
| 640 | |
| 641 | def correct_symbols(integer_symbols, system): |
| 642 | """ |