I need to write a function in python that will allows me to take:
a documents text
a boolean query such as ((A AND B) /3 C)
a