PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the list of synonyms used by a full-text index.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WINDEVJava This function is now available for the Java applications.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WINDEVJava This function is now available for the Java applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WINDEVJava This function is now available for the Java applications.
Example
// Retrieves all the synonym words
let sAllSynonyms = HListSynonym(DataFile, MyFullTextIndex)
// For each group of synonym words
FOR EACH STRING sSynonymList OF sAllSynonyms SEPARATED BY CR
let sString = "The following words are synonyms: "
// Extracts each synonym
FOR EACH STRING sSynonym OF sSynonymList SEPARATED BY TAB
// Adds the word to the string
sString += sSynonym + " "
END
Trace(sString)
END
Syntax
<Result> = HListSynonym(<Data file> , <Full-text index> [, <Path of WDD> [, <Password of WDD>]])
<Result>: Character string
List of synonyms defined for the specified full-text index in the specified data file. This list has the following format:
<Word 1> + TAB + <Synonym 1A> + TAB + <Synonym 1B> + CR + ...
<Word 2> + TAB + <Synonym 2> + ... + CR + ...
<Word N> + TAB + <Synonym N>
In this list:
  • The synonyms are separated by a tabulation (TAB).
  • The different groups of synonyms are separated by a Carriage Return (CR).
Remarks:
  • The words can be written in uppercase if the full-text index is not sensitive to the case or without accented characters if the full-text index is not sensitive to the accented characters.
  • The words whose length is less than the minimum length specified for the full-text index may not appear in this list.
<Data file>: Character string (with or without quotes)
Name of the data file containing the full-text index.
<Full-text index>: Character string (with or without quotes)
Name of full-text index used.
<Path of WDD>: Optional character string (with quotes)
Full path of analysis (.WDD file) where the data file is described. If this parameter is not specified or if it is equal to an empty string (""), the data file is sought in the current analysis.
<Password of WDD>: Optional character string (with quotes)
Password defined for the analysis. If no password is defined, this parameter must be equal to an empty string ("").
Component : wd250hf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment