My problem is to match text with math expressions inside. I saw this topic - What is the best way to index documents which contain mathematical expression in elastic search?
But in my context I can't just create an additional field with math expression. I have to match text like math tasks for students and these tasks could have multiple math expressions. I think the MathML is most preferred format here because I can split MathML tags into words and match them as a usual words.
I'm interested to get most close match results to math expressions. What is the most proper way to reach this kind of matching?
Examples:
Solve the equation (2x + 7) ^ 2 = (2x - 1) ^ 2 .
Find all values of the parameter a, for each of which the equation: | x - a ^ 2 + a + 2 | + | x - a ^ 2 + 3a - 1 | = 2a - 3 has roots, but none of them belongs to the interval (4; 19)
P.S. graphical representation of equation:
1.4m articles
1.4m replys
5 comments
57.0k users