Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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:

  1. Solve the equation (2x + 7) ^ 2 = (2x - 1) ^ 2 .

  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: equation pict

question from:https://stackoverflow.com/questions/65881399/what-is-the-best-way-to-match-text-with-math-expressions-inside

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.2k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...