Add `disamb` subcommand to dico
Description
The purpose of this merge request is to add the dico disamb
subcommand. This merge request contains the implementation for only one strategy first
which returns the symbol id of the first definition in polysemy or homonymy cases.
Modified files
-
src/dico.py
to add thedisamb
subcommand -
src/dictionary.py
to add disambiguation functions to classDico
-
README.md
to add subcommand description
Added files
-
src/disambiguate.py
to parse the argument and apply the functions -
sample/json/small_lemma.json
a sample file to make tests -
bats/test_dico_disamb.bats
to test the subcommand
Edited by Alexandre Blondin Massé