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

Feature/ner mappings #1739

Merged
merged 10 commits into from
Jan 22, 2025
Merged

Feature/ner mappings #1739

merged 10 commits into from
Jan 22, 2025

Conversation

BeritJanssen
Copy link
Contributor

Close #1724 : this branch removes the functionality relying on the presence of annotated_text mappings. I verified this works on the test server. One thing I'm not too happy with is the way find_named_entity_fields function now goes from corpus.es_index to the actual (versioned) index name. Will continue with this tomorrow, as I'm sure we already have a proper way to derive this information in place.

Another TO DO: drop the Annotated Text plugin in Docker.

@lukavdplas
Copy link
Contributor

One thing I'm not too happy with is the way find_named_entity_fields function now goes from corpus.es_index to the actual (versioned) index name. Will continue with this tomorrow, as I'm sure we already have a proper way to derive this information in place.

Yeah, I think the way you're doing it is fine, but the function you're looking for this this one:

def get_current_index_name(corpus: CorpusConfiguration, client) -> str:

@BeritJanssen BeritJanssen merged commit c529be3 into develop Jan 22, 2025
2 checks passed
@BeritJanssen BeritJanssen deleted the feature/ner-mappings branch January 22, 2025 09:57
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.

annotated-text mappings may be unnecessary
2 participants