1. About AdvaS
2. Installation Guide
3. Usage Of AdvaS
4. Class AdvancedSearch
 -  4.1 __init__
 -  4.2 addEntry
 -  4.3 advancedSearch
 -  4.4 calculateRetrievalStatusValue
 -  4.5 clearEntryList
 -  4.6 compareDescriptors
 -  4.7 compareDescriptorsBinary
 -  4.8 compareDescriptorsFuzzy
 -  4.9 compareDescriptorsKNN
 -  4.10 comparePhoneticCode
 -  4.11 comparePhoneticCodeLists
 -  4.12 countEntryList
 -  4.13 extendStopList
 -  4.14 fullTextSearch
 -  4.15 getEmptyId
 -  4.16 getEntryList
 -  4.17 getSearchStrategy
 -  4.18 getSortOrder
 -  4.19 getStopList
 -  4.20 idf
 -  4.21 isInEntryList
 -  4.22 mergeLists
 -  4.23 mergeListsIdf
 -  4.24 reduceStopList
 -  4.25 removeEntry
 -  4.26 reverseSortOrder
 -  4.27 search
 -  4.28 searchByPhoneticCode
 -  4.29 setSearchStrategy
 -  4.30 setSortOrderAscending
 -  4.31 setSortOrderDescending
 -  4.32 setStopList
 -  4.33 sortEntryList
 -  4.34 tf
 -  4.35 tfStop
5. Class Advas
6. Class AdvasIo
7. Class Descriptors
8. Class Entry
9. Class Ngram
10. Class Phonetics
11. Class Stemmer
12. Information Retrieval Resources
13. Documentation
 
 advancedSearch
 
advancedSearch (self, pattern)

Added to advas-0.2.5

Performs an advanced search on the data basis — the previously registered documents. The following methods are in use: term frequency (tf), ngrams (digrams and trigrams), phonetic codes, and a comparison on document descriptors (binary comparison, fuzzy comparison, and KNN). All the named methods are weighted equally.

In: pattern a pattern as a document entry, based on class Entry

Out: list search result for every registered document. Comes as a list with the following values:
  • degree of match as a float value
  • number of exact matches as an integral value
  • document id for the entry as an integral value