This page last changed on Nov 20, 2008 by amitku.

The calls below return 500 word chunks for a work/workpart

List all the chunks of a work/workpart

-Required Parameter: work or workpart id as id and type parameter set to "chunk"

Example:
where ncf-0101 is a work tag http://monk.lis.uiuc.edu:8888/monkmiddleware/get/CorpusManager.getWorkInfo?id=ncf-0101&type=chunk

where ncf-0101-1 is a workpart tag http://monk.lis.uiuc.edu:8888/monkmiddleware/get/CorpusManager.getWorkInfo?id=ncf-0101-1&type=chunk

Retrieve the chunk metadata (label, id, workPart(s) it belongs to)

-Required Parameter: chunk id as id parameter

Example: http://monk.lis.uiuc.edu:8888/monkmiddleware/get/CorpusManager.getWorkInfo?id=ncf-0101-1-1c

Render a chunk

-Required Parameter: chunk id as id http://monk.lis.uiuc.edu:8888/monkmiddleware/get/CorpusManager.getWork?id=ncf-0101-1-1c

Retrieve Chunk Labels

Use it the same way you would retrieve the work/workpart labels
-Required Parameter: documentList as comma separated ids of the work,workpart and chunks

Example: http://monk.lis.uiuc.edu:8888/monkmiddleware/get/WorkSetsManager.getLabels?documentList=ncf-0101-1-1c,ncf-0101,ncf-0101-1

Other Workset and Corpus Calls

All the workset and corpus calls treat chunks just like the way the workpart and work id are treated; For example if a call
like WorkSetsManager.getWorkPartLabels?worksetId=$worksetId returns the labels of all the documents in the workset -these labels
could be of workparts, works or chunks.

Document generated by Confluence on Apr 19, 2009 15:04