<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/root.c">
<Name>LQT_GenerateWordFromRoot</Name>
<Class>Language/Stemming
<Purpose>
LQT_GenerateWordFromRoot tries to generate the original word from the
given flags.
Sometimes multiple plurals reduce to the same singular,
such as brothers and brethren both being forms of brother, and in
these cases the generated word may be incorrect.  Other cases
include words ending in the letter o, which may or may not have
has an es stripped off, so that SunOS (the operating system) is
indexed as Suno, and incorrectly pluralised as Sunoes.
<Returns>
A pointer to a static buffer
<Bugs>
Should allow per-database stemming options.
<SeeAlso>
LQT_ReduceWordToRoot, LQT_WordToWID, LQT_WIDToWord
</Function>
<Decl>
API char *
LQT_GenerateWordFromRoot(db, WordInfo, Flags)
    t_LQTEXT_Database *db;
    t_WordInfo *WordInfo;
    unsigned int Flags;
</Decl>
</Entry>
