Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are three python files :
1.operative_extractions.py- This is a python script with a class that takes a Celex id when initializing the class and returns the operative part , scraped from the web link of the respective Celex ID.The purpose of the different functions within the class is to overcome the different html page structures and syntax of different web pages , accordingly looping the respective page of the given celex id through each structure until it gets the operative part from the website. All the functions are of return type ->list.It doesn't take care of scraping of operative id from old cases since function for that already exists
2.para.py-This python script extracts the Paragraph (P) numbers of the citations and returns them in a list only if they are found else it returns an empty list.
3.Citations.py-This python script extracts the citations(CELEX ID) and returns them in a list only if they are found else it returns an empty list.