Skip to content

Refactor `dico kernel`

Poulin, Jean Marie requested to merge ref-dico-kernel into master

Refactor dico kernel code to avoid coupling between digraph and dictionary modules (Separation of Concerns).

The 'kernel' module orchestrates tasks as follows:

  1. Create a new Dico object from the input JSON file
  2. Create a new Digraph object from the Dico object
  3. Invoke Digraph object to kernelize the graph
  4. Invoke Dico object to remove symbols which correspond to nodes removed by the kernelization
  5. Invoke Dico object to persist itself into the JSON output file
Edited by Poulin, Jean Marie

Merge request reports