Pretty small changes. I was able to look at the code and step through how the verb replacement was happening. The index i is factored out of the code as a result and recursion doesn't need to happen. Also added in a file called test_cases.py which contains the sentences that you had commented out at the bottom of the fortune_cookie.py file.
I wanted to see if I could take a crack at the adverbial phrase detection; however, still have to do my research responsibilities. Hope the changes are helpful Eric!
Pretty small changes. I was able to look at the code and step through how the verb replacement was happening. The index i is factored out of the code as a result and recursion doesn't need to happen. Also added in a file called test_cases.py which contains the sentences that you had commented out at the bottom of the fortune_cookie.py file.
I wanted to see if I could take a crack at the adverbial phrase detection; however, still have to do my research responsibilities. Hope the changes are helpful Eric!