fuzzy_wrapper Class Reference
fuzzy wrapper library interface it's safe to call methods in multithreaded program add/remove methods will be executed one by one; "write" blocking mode match method can be executed in multiple threads at the same time; "read" non-blocking mode
More...
#include <fuzzywrapper.h>
List of all members.
|
Public Member Functions |
| virtual | ~fuzzy_wrapper () |
| | destructor
|
| virtual bool | add (const char *phrase)=0 |
| | adds a new n-gram to the internal repository (utf-8) caller can add the same n-gram many times class will support internal references count
|
| virtual bool | remove (const char *phrase)=0 |
| | removes the previously added ngram caller can remove the same n-gram many times unless references count goes to zero
|
| virtual bool | match (ngram_quality nq, phonetic_quality fq, const char *phrase, linked_result &suggestions) const =0 |
| | does the fuzzy match
|
Detailed Description
fuzzy wrapper library interface it's safe to call methods in multithreaded program add/remove methods will be executed one by one; "write" blocking mode match method can be executed in multiple threads at the same time; "read" non-blocking mode
Definition at line 83 of file fuzzywrapper.h.
Constructor & Destructor Documentation
| virtual fuzzy_wrapper::~fuzzy_wrapper |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| virtual bool fuzzy_wrapper::add |
( |
const char * |
phrase |
) |
[pure virtual] |
adds a new n-gram to the internal repository (utf-8) caller can add the same n-gram many times class will support internal references count
- Parameters:
-
Implemented in fuzzy_wrapper_impl.
| virtual bool fuzzy_wrapper::remove |
( |
const char * |
phrase |
) |
[pure virtual] |
removes the previously added ngram caller can remove the same n-gram many times unless references count goes to zero
- Parameters:
-
Implemented in fuzzy_wrapper_impl.
does the fuzzy match
- Parameters:
-
| nq |
ngram quality |
| fq |
phonetic quality |
Implemented in fuzzy_wrapper_impl.
The documentation for this class was generated from the following file: