This is an XML-RPC interface to the corpus of The Noun Phrase.
A description of available XML-RPC methods follows.
Basic text (string) search. Parameters: (1) string to be searched for, (2) struct with options, possible at the moment: 'limit' => number of rows to be returned (0 = unlimited), 'kloekecodes' => array of Kloeke codes (geographic codes); returns: array of structs. Sample methodcall:
<methodCall>
<methodName>diddd.searchText</methodName>
<params>
<param>
<value><string>gewoond</string></value>
</param>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>I118p</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><int>10</int></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Basic text (string) search. Parameters: (1) string to be searched for, (2) struct with options, possible at the moment: 'limit' => number of rows to be returned (0 = unlimited), 'kloekecodes' => array of Kloeke codes (geographic codes); returns: array of integers: id's of found answers. Sample methodcall:
<methodCall>
<methodName>diddd.searchText</methodName>
<params>
<param>
<value><string>gewoond</string></value>
</param>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>I118p</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><int>10</int></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Tag search. Parameter: (1) struct with search parameters, possible at the moment: string, tags, kloekecodes, keywords (syntactic phenomena), limit. Sample methodcall:
<methodCall>
<methodName>diddd.searchTags</methodName>
<params>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>E206p</string></value>
</data>
</array></value>
</member>
<member><name>tags</name>
<value><array>
<data>
<value><struct>
<member><name>category</name>
<value><string>N</string></value>
</member>
<member><name>attributes</name>
<value><array>
<data>
<value><string>sg</string></value>
</data>
</array></value>
</member>
</struct></value>
</data>
</array></value>
</member>
<member><name>string</name>
<value><string>boeke</string></value>
</member>
<member><name>keywords</name>
<value><array>
<data>
<value><string>what for</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><string>10</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Tag search. Parameter: (1) struct with search parameters, possible at the moment: string, tags, kloekecodes, keywords (syntactic phenomena), limit. This method returns an array of strings of the form 1234:56,78 where first number = id of the answer, second comma-separated list of numbers = found word id's within the answer. Sample methodcall:
<methodCall>
<methodName>diddd.searchTags</methodName>
<params>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>E206p</string></value>
</data>
</array></value>
</member>
<member><name>tags</name>
<value><array>
<data>
<value><struct>
<member><name>category</name>
<value><string>N</string></value>
</member>
<member><name>attributes</name>
<value><array>
<data>
<value><string>sg</string></value>
</data>
</array></value>
</member>
</struct></value>
</data>
</array></value>
</member>
<member><name>string</name>
<value><string>boeke</string></value>
</member>
<member><name>keywords</name>
<value><array>
<data>
<value><string>what for</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><string>10</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Syntactic phenomena search. Parameters: (1) array of syntactic phenomena to be searched for (array of strings), (2) struct with options, possible at the moment: 'limit' => number of rows to be returned (0 = unlimited), 'kloekecodes' => array of Kloeke codes (geographic codes) to limit the search to. Sample methodcall:
<methodCall>
<methodName>diddd.searchSyntacticPhenomena</methodName>
<params>
<param>
<value><array>
<data>
<value><string>what for</string></value>
</data>
</array></value>
</param>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>E206p</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><int>10</int></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Syntactic phenomena search. Parameters: (1) array of syntactic phenomena to be searched for (array of strings), (2) struct with options, possible at the moment: 'limit' => number of rows to be returned (0 = unlimited), 'kloekecodes' => array of Kloeke codes (geographic codes) to limit the search to. Returns: array of integers: id's of found answersSample methodcall:
<methodCall>
<methodName>diddd.searchSyntacticPhenomena</methodName>
<params>
<param>
<value><array>
<data>
<value><string>what for</string></value>
</data>
</array></value>
</param>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>E206p</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><int>10</int></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
To be written
Returns a list of syntactic phenomena. Possible parameter: string 'en' or 'nl' for English or Dutch terms. Default: English terms.
Returns an empty structure for the diddd.searchText and diddd.getFullResultsTextByID methods
Returns an empty structure for the diddd.searchSyntacticPhenomena and diddd.getFullResultsSyntacticPhenomenaByID methods
Returns an empty structure for the diddd.searchTags and diddd.getFullResultsTagsByID methods
General search method. Parameter: (1) struct with search parameters, possible at the moment: string, tags, kloekecodes, keywords (syntactic phenomena), limit. Sample methodcall:
<methodCall>
<methodName>diddd.searchTags</methodName>
<params>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>E206p</string></value>
</data>
</array></value>
</member>
<member><name>tags</name>
<value><array>
<data>
<value><struct>
<member><name>category</name>
<value><string>N</string></value>
</member>
<member><name>attributes</name>
<value><array>
<data>
<value><string>sg</string></value>
</data>
</array></value>
</member>
</struct></value>
</data>
</array></value>
</member>
<member><name>string</name>
<value><string>boeke</string></value>
</member>
<member><name>keywords</name>
<value><array>
<data>
<value><string>what for</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><string>10</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
General search method. Parameter: (1) struct with search parameters, possible at the moment: string, tags, kloekecodes, keywords (syntactic phenomena), limit. This method returns an array of strings of the form 1234:56,78 where first number = id of the answer, second comma-separated list of numbers = found word id's within the answer. Sample methodcall:
<methodCall>
<methodName>diddd.searchTags</methodName>
<params>
<param>
<value><struct>
<member><name>kloekecodes</name>
<value><array>
<data>
<value><string>E206p</string></value>
</data>
</array></value>
</member>
<member><name>tags</name>
<value><array>
<data>
<value><struct>
<member><name>category</name>
<value><string>N</string></value>
</member>
<member><name>attributes</name>
<value><array>
<data>
<value><string>sg</string></value>
</data>
</array></value>
</member>
</struct></value>
</data>
</array></value>
</member>
<member><name>string</name>
<value><string>boeke</string></value>
</member>
<member><name>keywords</name>
<value><array>
<data>
<value><string>what for</string></value>
</data>
</array></value>
</member>
<member><name>limit</name>
<value><string>10</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
This method lists all the methods that the XML-RPC server knows how to dispatch
Returns help text if defined for the method passed, otherwise returns an empty string
Returns an array of known signatures (an array of arrays) for the method name passed. If no signatures are known, returns a none-array (test for type != array to detect missing signature)
Fully describes the methods implemented by this XML-RPC server