|
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
|
|
|