Skip to content

Add the dico core subcommand

Lai, Ting-Yang requested to merge dico-core into master

Context

This MR provides the core subcommand, which will extract all the source symbols from a dictionary, i.e. the symbols that belong to the source strongly connected components of the directed graph associated with the dictionary. A strongly connected component is called source if it is a source (null incoming degree) in the condensation graph.

Modified or added files

  • dico.py: add the argument for core subcommand
  • digraph.py : add extract_core
  • core.py: the module handling the subcommand core
  • test_dico_core.bats : unit test for new subcommand
Edited by Alexandre Blondin Massé

Merge request reports