-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated code for extraction #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://code.visualstudio.com/docs/python/linting -- If you areusing visual studio code, please check linting, add a linter and/or a formatter - https://code.visualstudio.com/docs/python/formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the class methods for operative part actually being called for testing? For the previous tests, methods are called under main ; Not sure what's happening here?
|
||
|
||
|
||
# one=self.html_page_structure_one() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is unused code still part of the PR?
three.append(y.text) | ||
return three | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to clean up such that this sticks to PEP8 standard. Unnecessary new lines and indentation in code. Please lint your code.
…raries from cellar.py file
… citations_adder.py
…changed variable names that were similar to inbuilt ones for eurlex_scraping
…erences for fulltext_saving
…conformity, changed variable names to avoid inbuilt references.
Removed os and sys import.
Extended include to include operative_extractions.
The three python files has the code for extraction/scraping of operative part from the documents of the respected Celex Id's and accordingly writes them into csv,json and txt files . For now the txt,json method has been commented under the call function of the class
Writing()
in the class ### output.py.