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
 
 compareDescriptors
 
compareDescriptors (self, request, document)

Added to advas.0.0.4, renamed and extended in advas-0.2.5

Compares two document descriptors (request and document), and returns its degree of equality.


In: request search request; object of class Descriptor
  document document request; object of class Descriptor

Out: dictionary a dictionary with the following elements:
  • binary: result of the binary descriptor comparison
  • fuzzy: result of the fuzzy-based descriptor comparison
  • knn: result of the knn-based descriptor comparison