In this recipe, we will use the Google NLP API to parse text. However, we can graphically display the tree. Using your browser, go to https://cloud.google.com/natural-language/. Near the bottom of the page, you will find a field labelled Try the API. Enter the string, He walked to the store. Next, press the ANALYZE button. Select the Syntax tab below the text field. You will see the parse tree as shown next:
![](https://static.packt-cdn.com/products/9781789801156/graphics/assets/824d5c3a-1cca-4219-a85d-060bbc3a6b13.png)