Orange: The Guardian
Sumber: https://orange3-text.readthedocs.io/en/latest/widgets/guardian-widget.html
Mengambil data dari The Guardian Open Platform.
Input
None
Output
Corpus: A collection of documents from the Guardian newspaper.
Widget Guardian mengambil tulisan dari Guardian newspaper melalui API mereka. Agar widget dapat bekerja, kita perlu memasukan API key, yang dapat di peroleh dari access platform mereka.
- Insert the API key for the widget to work.
- Provide the query and set the time frame from which to retrieve the articles.
- Define which features to retrieve from the Guardian platform.
- Information on the output.
- Press Search to start retrieving the articles or Stop to stop the retrieval.
Contoh
Guardian can be used just like any other data retrieval widget in Orange, namely NY Times, Wikipedia, Twitter or PubMed.
We will retrieve 240 articles mentioning slovenia between september 2017 and september 2018. The text will include article headline and content. Upon pressing Search, the articles will be retrieved.
We can observe the results in the Corpus Viewer widget.