| Dee Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
AnalyzersAnalyzers — A suite of simple DeeAnalyzers of common operations |
#include <dee.h> DeeAnalyzer * dee_analyzer_new_for_full_text_column (guint column); DeeAnalyzer * dee_analyzer_new_for_int32_column (guint column); DeeAnalyzer * dee_analyzer_new_for_key_column (guint column); DeeAnalyzer * dee_analyzer_new_for_uint32_column (guint 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().
|
The index of the column to get full text from |
Returns : |
A newly allocated DeeAnalyzer. Do not modify it.
Free with g_free(). [transfer full]
|
DeeAnalyzer * dee_analyzer_new_for_int32_column (guint column);
Create a DeeAnalyzer that extracts an 32 bit integer from a given column in a DeeModel.
|
The index of the column to get a gint32 from |
Returns : |
A newly allocated DeeAnalyzer. Do not modify it.
Free with g_free(). [transfer full]
|
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.
|
The index of the column to get strings from |
Returns : |
A newly allocated DeeAnalyzer. Do not modify it.
Free with g_free(). [transfer full]
|
DeeAnalyzer * dee_analyzer_new_for_uint32_column (guint column);
Create a DeeAnalyzer that extracts an unsigned 32 integer from a given column in a DeeModel.
|
The index of the column to get a guint32 from |
Returns : |
A newly allocated DeeAnalyzer. Do not modify it.
Free with g_free(). [transfer full]
|