Is there any available tool/library (preferably established/solid commercial product or open source) that can extract structured data from plain text? Usually the plain text contains boolean or math operands like (AND, OR, BETWEEN, etc.).
I like AWS Comprehend but I'm not sure it can be used for this task easily.
vehicle with 2 to 5 wheels
=>
SUBJECT: vehicle
EXPRESSION:
SUBJECT: wheels
OPERAND: BETWEEN
NUMBER: 2
NUMBER: 5