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

Add ngram endpoints #458

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Add ngram endpoints #458

wants to merge 30 commits into from

Conversation

fsimonjetz
Copy link
Contributor

No description provided.

ebl/fragmentarium/application/fragment_repository.py Dismissed Show dismissed Hide dismissed
ebl/corpus/application/text_repository.py Dismissed Show dismissed Hide dismissed

if __name__ == "__main__":
if DO_CHAPTERS:
print("Updating chapter ngrams with n ∈", NGRAM_N_VALUES)

Check warning

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.
@codeclimate
Copy link

codeclimate bot commented Sep 26, 2023

Code Climate has analyzed commit f7e79d7 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 87.3% (75% is the threshold).

This pull request will bring the total coverage in the repository to 91.5% (0.0% change).

View more on Code Climate.

@@ -449,3 +432,90 @@ def query_corpus_by_manuscript(
]
)
return ManuscriptAttestationSchema().load(cursor, many=True)

def _update_ngrams(self, id_: ChapterId) -> None:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needs to exclude colophons

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.

1 participant