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

Refactor the Linker, Ranker, Recogniser and Pipeline #282

Open
wants to merge 101 commits into
base: dev
Choose a base branch
from

Conversation

thobson88
Copy link
Collaborator

@thobson88 thobson88 commented Dec 15, 2024

Closes #276.

Major refactor. The main changes are:

  • new subclass structure in the Recogniser, Ranker & Linker (and common load and run interface)
  • new dataclasses representing data structures throughout the pipeline: Mention, Sentence, Candidates, Predictions, etc.
  • simplified Pipeline class, with all business logic moved into the Linker

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/linking.py Show resolved Hide resolved
t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/linking.py Outdated Show resolved Hide resolved
t_res/geoparser/ner.py Show resolved Hide resolved
t_res/geoparser/ranking.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor the Linker, Ranker, Recogniser and Pipeline
2 participants