1. About AdvaS
2. Installation Guide
3. Usage Of AdvaS
4. Class AdvancedSearch
5. Class Advas
 -  5.1 __init__
 -  5.2 caverphone
 -  5.3 compareNgramLists
 -  5.4 getEncoding
 -  5.5 getNgramsByWord
 -  5.6 getNgramsByLine
 -  5.7 getNgramsByParagraph
 -  5.8 getSynonyms
 -  5.9 getText
 -  5.10 isComment
 -  5.11 isLanguage
 -  5.12 isLanguageByKeywords
 -  5.13 isSynonymOf
 -  5.14 kmpSearch
 -  5.15 metaphone
 -  5.16 nysiis
 -  5.17 phoneticCode
 -  5.18 removeItems
 -  5.19 setText
 -  5.20 setEncoding
 -  5.21 soundex
 -  5.22 splitLine
 -  5.23 splitParagraph
 -  5.24 splitText
 -  5.25 tf
 -  5.26 tfStop
6. Class AdvasIo
7. Class Descriptors
8. Class Entry
9. Class Ngram
10. Class Phonetics
11. Class Stemmer
12. Information Retrieval Resources
13. Documentation
 
 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