Search

Find Page Number With Occurrence Of Dictionary Item

Articles

Use this function to find the page number of the specified occurrence of the text that matches with one of the keywords in the dictionary table.

Syntax

Find Page Number With 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
occurrence Required number of occurrences of the match
column_name Name of the column that contains the search keywords

Returns

Return Value Description
Page number Page number on which the item is present

Sample

Find Page Number With Occurrence Of Dictionary Item (FID, BankTable, 2, BankName)

  • Finds the page number of the PDF in which the dictionary item in the column BankName of the table BankTable occurs for the 2nd time.

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

  • If the PDF contains the value Citibank twice and its second occurrence is on the fourth page of PDF, then 4 is returned.

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?