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

DOC : Add example for the loading and pre-processing of corpus #16

Closed
wants to merge 1 commit into from

Conversation

Thibeb
Copy link
Contributor

@Thibeb Thibeb commented Feb 9, 2024

Example for loading and pre-processing the QUAERO, E3C and CASM2 corpus

Each corpus is first converted to a medkit text document format using a custom function.
Then each text document is processed into a pipeline to tokenize sentences and split the doc into multiple mini docs for better futur training.

The corpus_specs function takes a list of medkit text documents and analyse it to get some metrics such as the number of original docs, sentences, entities and their repartition.

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