Skip to content
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

Merged
merged 12 commits into from
Jul 2, 2018
Merged

Conversation

lukehsiao
Copy link
Contributor

@lukehsiao lukehsiao commented Jun 30, 2018

Closes #57.

@lukehsiao lukehsiao added the clean-up Cleaning up the code or refactoring label Jun 30, 2018
@lukehsiao lukehsiao added this to the v0.2.0 milestone Jun 30, 2018
@lukehsiao lukehsiao self-assigned this Jun 30, 2018
@lukehsiao lukehsiao requested a review from senwu June 30, 2018 22:12
@lukehsiao lukehsiao changed the title Split models Split sqlalchemy models into individual files Jun 30, 2018
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
Copy link
Collaborator

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?

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 (
Copy link
Collaborator

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?

@lukehsiao
Copy link
Contributor Author

lukehsiao commented Jul 1, 2018

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).

Copy link
Collaborator

@senwu senwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lukehsiao lukehsiao merged commit 6124e90 into master Jul 2, 2018
@lukehsiao lukehsiao deleted the split-models branch July 2, 2018 21:59
stackoverflowed pushed a commit to stackoverflowed/multimodal that referenced this pull request Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean-up Cleaning up the code or refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants