Search

Find Occurrence Of Dictionary Item

Articles

Use this function to find the text that matches with the keyword in the dictionary table for the specified number of occurrences.

Syntax

Find Occurrence Of Dictionary Item (fid, dictionary_table, column_name, occurrence)

Parameters

Input Parameter Name Description
fid OutputXmlFID passed from the Doc Reader node
dictionary_table The table that contains the search keywords
column_name Name of the column that contains the search keywords
occurrence Required number of occurrences of the match

Returns

Return Value Description
Text The matching text

Sample

Find Occurrence Of Dictionary Item (FID, BankTable, BankName, 4)

  • Finds the text in the PDF that matches 4 times with the keywords in the BankName column of the dictionary table BankTable.

If table BankTable has values CitiBank, HSBC in column BankName.

  • If the PDF contains the value Citibank twice and HSBC 4 times, then HSBC is returned.
  • If the PDF contains the value Citibank 4 times and HSBC 2 times, then Citibank is returned.
In a Mutual Fund Statement, it helps in identifying which is the popular Fund House.

The occurrence is considered only when the keyword has an exact match in the document.

To view all the Document functions, click here.

Did you find what you were looking for?