| 468 | |
| 469 | |
| 470 | class MyConfig: |
| 471 | |
| 472 | interpret_as_mixed_fractions: bool = False |
| 473 | interpret_simple_eq_as_assignment: bool = False |
| 474 | interpret_contains_as_eq: bool = True |
| 475 | lowercase_symbols: bool = False |
| 476 | """ |
| 477 | Args: |
| 478 | interpret_as_mixed_fractions (bool): Whether to interpret 2 \frac{1}{2} as 2/2 or 2 + 1/2 |
| 479 | interpret_simple_eq_as_assignment (bool): Whether to interpret simple equations as assignments k=1 -> 1 |
| 480 | interpret_contains_as_eq (bool): Whether to interpret contains as equality x \\in {1,2,3} -> x = {1,2,3} |
| 481 | lowercase_symbols (bool): Whether to lowercase all symbols |
| 482 | """ |
| 483 | |
| 484 | |
| 485 | class MyNormalization: |