Find dependencies in the sentence

Report a typo

Please note: for now, when you go to the tab IDE, you can solve this problem only via Pycharm. If you prefer to solve the problem via a different IDE, you should open it manually and then copy the solution to the website.

From the text file, print the head element and the dependent element of each phrase within the sentence in the file.

The dependency tree should be represented with the template head --> dependent, for example, for the phrase 'A sunny day' you should get the following result:

day --> A
day --> sunny
day --> day
Write code in your IDE to process the text file and display the results below
___

Create a free account to access the full topic