|
MONK : CollectionManager Calls
This page last changed on Jan 13, 2009 by amitku.
getAuthorLostReturns the list of all the authors /get/CorpusManager.getAuthorList getCollectionsReturns the list of all the collections /get/CorpusManager.getCorpora getWorkList/get/CorpusManager.getWorkList?corpus=ncf&start=0&end=10&sortby=pub_date_start_asc The numWorkPart attribute is missing in the image -but it is implemented and gives the number of Request parameters Required. collectionId getWorksContainingFeature/get/CorpusManager.getWorksWithFeature All criterion are optional except corpusCriterion.
Request Parameters <workparts totalCount="8" start="0" end="8"> <workpart id="ncf-22501-title" numWorkPart="0" numChildren="0" numWords="0" numWordsCum="0" level="1" workOrdinal="1" count="1"> <label>Title</label> </workpart> <workpart id="ncf-22501-1" numWorkPart="0" numChildren="0" numWords="58" numWordsCum="58" level="1" workOrdinal="2" count="2"> <label>PREFACE.</label> </workpart> ... </workpart> getNGramListRequest Parameters id workpart or work id Spelling Lemma TriGram Patterns: getTriGramPatternListurl: /get/CorpusManager.getTriGramPatternList Request Parametersid workpart or work id Pattern: Little * */get/CorpusManager.getTriGramPatternList?id=ncf-22501&feature=Spelling&tag1=little&position1=2&position2=3 This will return all the trigrams that have little in them and second, third spellings could be anything Pattern: The Little *Suppose you want all the trigrams that start with the little ;Use the call below Note: &position1=3 and &tag1=the&tag2=little /get/CorpusManager.getTriGramPatternList?id=ncf-22501&feature=Spelling&tag1=the&tag2=little&position1=3 Pattern: * little *The call below will return all the trigrams that have little as spelling in the middle. It will be preceded /get/CorpusManager.getTriGramPatternList?id=ncf-22501&feature=Spelling&tag1=little&position1=1&position2=3 BiGram patterns: getBiGramPatternListRequest Parametersid work or workpart id Pattern: little or littleTo get the spelling bigrams that have little in them (either as a first word or as a second word) Pattern: * atTo get all the spelling bigrams that end with at. Pattern: all atReturns the count of spelling bigram all at and at all Lemma: getLemmaReturns the list of Lemma
/get/CorpusManager.getLemma?documentList=ncf-22501,ncf-0101 Spelling: getSpellingReturns the list of Spellings and count
/get/CorpusManager.getSpelling?documentList=ncf-22501,ncf-0101 |
| Document generated by Confluence on Apr 19, 2009 15:04 |