Difference between revisions of "CITlab Keyword Spotting"

From Transkribus Wiki
Jump to: navigation, search
(Created page with "CITlab Keyword Spotting can be used on all documents that have been processed with CITlab HTR(+). Searching is currently restricted to a single documents per search request....")
(No difference)

Revision as of 13:44, 4 February 2020

CITlab Keyword Spotting can be used on all documents that have been processed with CITlab HTR(+). Searching is currently restricted to a single documents per search request.

  • Sending a search request:

POST https://transkribus.eu/TrpServerTesting/rest/kws/queries?collId={myCollectionId}&id={myDocId}&query={searchTerm1}&query={searchTerm2}&query=...

  • List KWS search processes. As those might take some time to finish, watch the "status" field of a process until its value is "Completed":

GET https://transkribus.eu/TrpServerTesting/rest/kws/queries

  • Retrieve the hits of a completed search process:

GET https://transkribus.eu/TrpServerTesting/rest/kws/queries/{myKwsJobId}/hits


The GET requests allow paging, e.g. use the query parameters "?index=0&nValues=2" to get the first two elements