Analyzers

Analyzers — A suite of simple DeeAnalyzers of common operations

Synopsis

#include <dee.h>

DeeAnalyzer*        dee_analyzer_new_for_key_column     (guint column);
DeeAnalyzer*        dee_analyzer_new_for_full_text_column
                                                        (guint column);
DeeAnalyzer*        dee_analyzer_new_for_int_column     (guint column);
DeeAnalyzer*        dee_analyzer_new_for_uint_column    (guint column);

Description

Details

dee_analyzer_new_for_key_column ()

DeeAnalyzer*        dee_analyzer_new_for_key_column     (guint column);

Create a DeeAnalyzer that takes the string from a column in the model and treats that string as one single term.

column :

The index of the column to get strings from

Returns :

A newly allocated DeeAnalyzer. Do not modify it. Free with g_free().

dee_analyzer_new_for_full_text_column ()

DeeAnalyzer*        dee_analyzer_new_for_full_text_column
                                                        (guint column);

Create a DeeAnalyzer that does a (simple) full text analysis of textual data in some column.

The terms will be split on any non-alphanumeric character, run through g_utf8_normalize(), and then g_utf8_strdown().

column :

The index of the column to get full text from

Returns :

A newly allocated DeeAnalyzer. Do not modify it. Free with g_free().

dee_analyzer_new_for_int_column ()

DeeAnalyzer*        dee_analyzer_new_for_int_column     (guint column);

column :

Returns :


dee_analyzer_new_for_uint_column ()

DeeAnalyzer*        dee_analyzer_new_for_uint_column    (guint column);

column :

Returns :