text2mm

Generate LIKEP query. The syntax is

text2mm(text[, maxwords])

This function will take a text expression, and produce a list of words that can be given to LIKER or LIKEP to find similar documents. text2mm takes an optional second argument which specifies how many words should be returned. If this is not specified then 10 words are returned. Most commonly text2mm will be given the name of a field. If it is an indirect field you will need to call fromfile as shown below:

SELECT     text2mm(fromfile(FILENAME))
     FROM       DOCUMENTS
     WHERE      DOCID = 'JT09115' ;

You may also call it as texttomm() instead of text2mm() .


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.