|
is_synonym_of
is_synonym_of (term1, term2, dictionary_file)
|
Added in advas-0.1.7
Compares two terms for being synonyms. A synonym is a word with the same meaning as the original term.
In: |
term1, term2 |
terms to be compared |
|
dictionary_file |
file that contains the alternatives separated by a comma. |
Out: |
1 |
both terms are synonyms |
|
0 |
both terms are no synonyms |
This function works with OpenThesaurus (plain text version). It requires an OpenThesaurus release later than 2003-10-23, and the lines to be sorted in alphabetical order.
|
|