Analyzer
Object Hierarchy:
Description:
[
CCode ( type_id =
"dee_analyzer_get_type ()" ) ]
public class Analyzer :
Object
All fields in the DeeAnalyzer structure are private and should never be accessed directly
Content:
Static methods:
Creation methods:
Methods:
- public virtual void add_term_filter (owned TermFilterFunc filter_func)
- public virtual void analyze (string data, TermList? terms_out, TermList? colkeys_out)
Extract terms and or collation keys from some input data (which is normally,
but not necessarily, a UTF-8 string).
- public virtual int collate_cmp (string key1, string key2)
Compare collation keys generated by
collate_key with similar semantics as strcmp
.
- public virtual string collate_key (string data)
Generate a collation key for a set of input data (usually a UTF-8 string
passed through tokenization and term filters of the analyzer).
- public virtual void tokenize (string data, TermList terms_out)
Tokenize some input data (which is normally, but not necessarily, a UTF-8
string).
Inherited Members:
All known members inherited from class GLib.Object