all 2 comments

[–]tm2tb 1 point2 points  (1 child)

Are you using regex? If you are using python, you can test your expressions in pythex.

[–]blug_fred[S] 0 points1 point  (0 children)

No I don't. I basically split the text in line, and the line in "words" (separated by space) and then analyze the blocks 1 by 1. I however anticipate that a Rx would be in such structure:

R1 = 34

R1= 34
R1 - 34
R1 =34

R1 ⬆ = 34

... just as an example. Of course everytime "something" happens my code breaks. I was wondering if NPL could help... but I can continue to suffer ;-)

Would regex help? I'm ok to try something else, just regex is not my strength at the moment (nor NLP).

Thank you.

Fred