-
Notifications
You must be signed in to change notification settings - Fork 47
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
Dataset Collector #1, Egorova Anastasia - 19FPL2 #47
base: main
Are you sure you want to change the base?
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.
Good! I think you are done here. But you may fix optional pylint addition and get some reward)
pipeline.py
Outdated
return "MorphologicalToken instance here" | ||
return f'{self.normalized_form}<{self.mystem_tags}>({self.pymorphy_tags})' | ||
|
||
def public_method(self): |
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 try to fix lint by using unnecessary stubs. Actually, it would be better to change lint params. In that case lint check would not pay any attention to "to few public methods" case. And you would not have to change given interface. If you want, you may fix this one. Tip: pylint settings are in .pylintrc files:)
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.
Thank you for the tip) I've fixed this error.
pass | ||
self.original_word = original_word | ||
self.normalized_form = normalized_form | ||
self.mystem_tags = '' |
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 str? may be list? or other data type
pipeline.py
Outdated
|
||
def get_articles(self): | ||
""" | ||
Returns storage params | ||
""" | ||
return self._storage | ||
|
||
def public_method(self): |
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.
same as above
@@ -2,7 +2,13 @@ | |||
Pipeline for text processing implementation | |||
""" | |||
|
|||
import os | |||
from pathlib import Path, PurePath |
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.
nice
pipeline.py
Outdated
|
||
return tokens | ||
|
||
def public_method(self): |
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.
same
No description provided.