lq-text: LQT_EndsWord

API int LQT_EndsWord (db, ch) t_LQTEXT_Database *db; int ch;

Purpose

Returns non-zero only if the given character ch can appear within or at the end of a word. This function is normally a macro declared in the header file <wordrules.h> but can also be defined as a C function is greater complexity is needed and the indexing speed loss is not a concern.

Returns

zero or non-zero.

Bugs

This routine is only sensible for English.

See Also: