Refactor `dico kernel`
Refactor dico kernel
code to avoid coupling between digraph
and dictionary
modules (Separation of Concerns).
The 'kernel' module orchestrates tasks as follows:
- Create a new
Dico
object from the input JSON file - Create a new
Digraph
object from theDico
object - Invoke
Digraph
object to kernelize the graph - Invoke
Dico
object to remove symbols which correspond to nodes removed by the kernelization - Invoke
Dico
object to persist itself into the JSON output file
Edited by Poulin, Jean Marie