Name

vt_is_noise — determines whether input is a noise word

Synopsis

vt_is_noise ( in word varchar ,
in encoding varchar ,
in language varchar );

Description

Determines whether input is a noise word.

Parameters

word

Narrow string of the word to be checked

encoding

valid encoding string

language

valid language string

Return Values

1 or 0. This function will return 1 if the encoded word in the specified language is considered a noise word, or 0 if not.

Examples

Example24.449.Determining if a word is a Noise Word

select vt_is_noise ('a', 'UTF-8', 'X-ANY');
      

will return 1

select vt_is_noise ('effective', 'UTF-8', 'X-ANY');
      

will return 0