User Tools

Site Tools


spokes_documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
spokes_documentation [2017/05/29 11:07] pezikspokes_documentation [2023/08/18 15:19] (current) – [REST API] pezik
Line 658: Line 658:
 =====REST API===== =====REST API=====
  
-The REST API of Spokes PL makes it possible to search and extract the entire contents of the corpus. It's [[http://clarin.pelcra.pl/apidocs/spokes|documented here]]. The only missing bit there is the extraction of the media associated with the transcripts, which is why we illustrate it here:+The REST API of Spokes PL makes it possible to search and extract the entire contents of the corpus. 
  
- +  * To get the complete list of transcriptions see [[http://spokes.clarin-pl.eu/#explore/br/0/50|this link]] 
-  - Here is [[http://pelcra.clarin-pl.eu/api/corpus/spokes/texts/MqBX|how you get the metadata of a conversation]]. +  * Here is how you can get the [[http://212.191.73.242:8098/api/fulltext?id=0154&text_id=0154&offset=0&limit=20&filter=%20&orderBy=seq&orderDir=asc&isFirstRun=1||list of all utterance turns]] in this text.
-  - If the transcript is time-aligned (see the relevant field in the response), you should be able to [[http://pelcra.clarin-pl.eu/api/corpus/spokes/texts/MqBX/utterances|download the "utterances" with their ids and time offsets]]. +
-  - Finally, [[http://pelcra.clarin-pl.eu/api/corpus/spokes/media/text/range?text_id=MqBX&start=14311&stop=16241|you can get the audio snippet corresponding to the utterance]] using the time offsets for utterances provided in the previous response.+
spokes_documentation.1496048859.txt.gz · Last modified: 2017/05/29 11:07 by pezik