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
Last revisionBoth sides next revision
spokes_documentation [2017/02/11 18:57] pezikspokes_documentation [2023/08/18 15:16] – [REST API] pezik
Line 9: Line 9:
  
 [[http://www.ep.liu.se/ecp/article.asp?issue=116&volume=&article=009| [[http://www.ep.liu.se/ecp/article.asp?issue=116&volume=&article=009|
-Pęzik, Piotr. “Spokes – a Search and Exploration Service for Conversational Corpus Data.” In Selected Papers from the CLARIN 2014 Conference, October 24-25, 2014, Soesterberg, The Netherlands, 99–109. Linköping Electronic Conference Proceedings. Linköping University Electronic Press, Linköpings universitet, 2015+Pęzik, Piotr. “Spokes – a Search and Exploration Service for Conversational Corpus Data.” In Selected Papers from the CLARIN 2014 Conference, October 24-25, 2014, Soesterberg, The Netherlands, 99–109. Linköping Electronic Conference Proceedings. Linköping University Electronic Press, Linköpings universitet, 2015]].
-]].+
  
 +Here is a BibTeX record:
  
 <code> <code>
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. Its [[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.txt · Last modified: 2023/08/18 15:19 by pezik