-
Notifications
You must be signed in to change notification settings - Fork 78
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
Split sqlalchemy models into individual files #60
Conversation
Both needed to be split at once in order to avoid a circular dependency.
fonduer/parser/models/__init__.py
Outdated
from fonduer.parser.models.context import Context, construct_stable_id, split_stable_id | ||
from fonduer.parser.models.document import Document | ||
from fonduer.parser.models.figure import Figure | ||
from fonduer.parser.models.image import Image, TemporaryImage |
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.
This is for candidate generation?
fonduer/parser/models/__init__.py
Outdated
from fonduer.parser.models.figure import Figure | ||
from fonduer.parser.models.image import Image, TemporaryImage | ||
from fonduer.parser.models.phrase import Phrase | ||
from fonduer.parser.models.span import ( |
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.
This is for candidate generation?
Following up on our conversation, will move the classes that are specific to candidate generation, and not core to the data model, into the candidate generation phase (e.g., Image, ImplicitSpan, Span). |
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.
LGTM.
Closes #57.