The process I want to create is the following: The user sees a text about 
fruits and wants to know if certain fruits are present in the text. Therefore a 
search-box is provided in which he enters: (apple or pear) and banana

(or any other random search-pattern)

How do i program such a thing, and especially, how do i create a logical 
expression programmatically?

I have asked an AI but it gave me an illogical non-working sample.

I want to do the following:

  * parse the the search-string and put the search-terms in a sequence like 
termsq
  * search the text and put the result in a boolean seq like term_presentsq
  * but then i must somehow sample the logical pattern and create a logical 
expression of the term_presentsq



Any ideas? 

Reply via email to