udm_load_ispell_data

(PHP 4 = 4.0.5)

udm_load_ispell_data -- ispellデータを読み込む

説明

int udm_load_ispell_data ( int agent, int var, string val1, string val2, int flag)

udm_load_ispell_data() は、ispellデータをロード します。成功時に TRUE 、エラー時に FALSE を返します。

agent - agent link identifier, received after call to udm_alloc_agent() .

var - parameter, indicating the source for ispell data. May have the following values:

After using this function to free memory allocated for ispell data, please use udm_free_ispell_data() , even if you use UDM_ISPELL_TYPE_SERVER mode.

The fastest mode is UDM_ISPELL_TYPE_SERVER. UDM_ISPELL_TYPE_TEXT is slower and UDM_ISPELL_TYPE_DB is the slowest. The above pattern is TRUE for mnoGoSearch 3.1.10 - 3.1.11. It is planned to speed up DB mode in future versions and it is going to be faster than TEXT mode.