Skip to content

Feat/kb concept extraction

Sesboue Matthias requested to merge feat/KB-concept-extraction into olms2

Proposition for a generic interface for knowledge-based concept extraction based on the proposal made in !62 (merged).

I also created tools to manipulate candidate terms in commons.candidate_terms_tools.py. Those tools contain an adaptation of the recursive merge on synonyms, a function to merge a set of candidate terms and an adaptation of the "have synonyms" method.

I propose a candidate term method, to_concept(), to create the concept corresponding to the candidate term. Also, propose a method for the Enrichment class to merge an enrichment with another. I believe those methods will be used in different places, so attaching them to the classes makes sense.

Merge request reports

Loading