Classes | Functions

QueryNode.h File Reference

#include "../common/utilit.h"
#include "ConcHolder.h"
#include "../PCRE/pcre_rml.h"
Include dependency graph for QueryNode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

Functions


Function Documentation

void GetWordForms ( const MorphLanguageEnum  Langua,
const string &  src,
set< string > &  WordForms 
)

compute the set of types WordForms which may share a lemma with src in language Langua.

The underlying CLemmatizer should handle transcoding of user queries transparently, assuming you called CLemmatizer::initIconv() with the appropriate encoding arguments.

This is very ugly, and the entire morphology system needs an overhaul.

Formerly a hidden function in QueryNode.cpp.

References CLemmatizer::CreateParadigmCollection(), errProcessMorphology, Format(), CFormInfo::GetCount(), GetLemmatizerByLanguage(), CFormInfo::GetWordForm(), is_upper_alpha(), morphUnknown, CLemmatizer::recode_ext2int(), CLemmatizer::recode_int2ext(), ReverseChar(), and RmlMakeLower().

Referenced by CQueryTokenNode::CreateTokenPattern().

Here is the call graph for this function:

Here is the caller graph for this function: