The code for textrank.py is in the file right before the code for textrank2.py
The code for urlrank2.py is in the file right before the code for urlrank2.py
That can confuse students as they try to understand how the second module in each case is an improvement over the other.
This should be fixed by removing the code at the top of the file and leaving only the second version in each file.