|
getSynonyms
getSynonyms(self, filename, encoding)
|
Added to advas-0.1.7 as function synonym_of, renamed in advas-0.2.5
Calculates the synonym for the term that is saved in the Advas
object. This method 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.
In: |
filename |
OpenThesaurus database with the saved synonyms |
|
encoding |
encoding of filename
|
Out: |
|
a list with the synonyms |
|
|