CLI.semantic_relatedness¶
About:¶
The semantic_relatedness command line interface (CLI) is designed to computes the degree of association between two sentences. As follows:
Usage:¶
Below is the usage information that can be generated by running semantic_relatedness --help.
semantic_relatedness –-sentence1 "your Arabic sentence here" --sentence2 "your Arabic sentence here"
Options:¶
--sentence1 INPUT_TEXT
The Arabic sentence to find the semantic relatedness between it and the second sentence.
--sentence2 INPUT_TEXT
The Arabic sentence to find the semantic relatedness between it and the first sentence.
Examples:¶
semantic_relatedness --sentence1 "Your text here" --sentence2 "Your text here"