CLI.extend_synonyms¶
About:¶
The extend_synonyms command line interface (CLI) is designed to receives a set of synonyms and a level number, then extends this set of synonyms with additional synonyms. Each synonym is assigned a fuzzy value based on the specified level. As follows:
Usage:¶
Below is the usage information that can be generated by running synonyms --help.
extend_synonyms –-synset "your synset here" --level level_number
Options:¶
--synset INPUT_TEXT
A set of initial synonyms to be extended (string of synonyms seperated by |)
--level Integer
The level number indicating the depth of synonym extension. Which could be 2 or 3
Examples:¶
extend_synonyms --synset "ممر | طريق" --level 2
CLI.evaluate_synonyms¶
About:¶
The evaluate_synonyms command line interface (CLI) is designed to take a set of synonyms and a level number, then evaluate how much these synonyms are realy a synonyms in this set. As follows:
Usage:¶
Below is the usage information that can be generated by running synonyms --help.
evaluate_synonyms –-synset "your synset here" --level level_number
Options:¶
--synset INPUT_TEXT
A set of synonyms to be evaluated (string of synonyms seperated by |)
--level Integer
The level number indicating the depth of synonym extension. Which could be 2 or 3
Examples:¶
evaluate_synonyms --synset "ممر | طريق" --level 2