Difference between revisions of "Orange: The Guardian"

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Sumber: https://orange3-text.readthedocs.io/en/latest/widgets/guardian-widget.html
 
Sumber: https://orange3-text.readthedocs.io/en/latest/widgets/guardian-widget.html
  
 +
Widget The Guardian mengambil data dari The Guardian Open Platform.
  
 +
==Input==
  
Fetching data from The Guardian Open Platform.
+
None
  
Inputs
+
==Output==
  
    None
+
Corpus: A collection of documents from the Guardian newspaper.
  
Outputs
+
Widget The Guardian mengambil tulisan dari The Guardian newspaper melalui API The Guardian. Agar widget dapat bekerja, kita perlu memasukan API key, yang dapat di peroleh dari access platform The Guardian.
 
 
    Corpus: A collection of documents from the Guardian newspaper.
 
 
 
Guardian retrieves articles from the Guardian newspaper via their API. For the widget to work, you need to provide the API key, which you can get at their access platform.
 
  
 
[[File:Guardian-stamped.png|center|200px|thumb]]
 
[[File:Guardian-stamped.png|center|200px|thumb]]
  
    Insert the API key for the widget to work.
+
* Insert the API key for the widget to work.
  
 
[[File:Guardian-API.png|center|200px|thumb]]
 
[[File:Guardian-API.png|center|200px|thumb]]
  
    Provide the query and set the time frame from which to retrieve the articles.
+
* Provide the query and set the time frame from which to retrieve the articles.
    Define which features to retrieve from the Guardian platform.
+
* Define which features to retrieve from the Guardian platform.
    Information on the output.
+
* Information on the output.
    Press Search to start retrieving the articles or Stop to stop the retrieval.
+
* Press Search to start retrieving the articles or Stop to stop the retrieval.
  
 
==Contoh==
 
==Contoh==
  
Guardian can be used just like any other data retrieval widget in Orange, namely NY Times, Wikipedia, Twitter or PubMed.
+
Widget The Guardian dapat digunakan seperti widget untuk mengambil data lainnya yang ada di Orange, seperti widget NY Times, widget Wikipedia, widget Twitter atau widget 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.
+
Dalam Workflow di bawah ini, kita menggunakan widget The Guardian untuk mengambil 240 artikel yang menyebut slovenia antara september 2017 dan september 2018. Text yang akan di ambil termasuk headline artikel dan content artikel. Setelah menekan tombol Search, artikel-artikel tersebut akan di ambil. Kita dapat mengamati hasilnya di widget Corpus Viewer.
  
[[File:Guardian-Example.png|center|200px|thumb]]
+
[[File:Guardian-Example.png|center|600px|thumb]]
  
 +
==Youtube==
  
 +
* [https://www.youtube.com/watch?v=gIW_OzSx4_M YOUTUBE: Membuat API The Guardian, NY Times, Twitter]
  
 
==Referensi==
 
==Referensi==

Latest revision as of 04:04, 12 April 2020

Sumber: https://orange3-text.readthedocs.io/en/latest/widgets/guardian-widget.html

Widget The Guardian mengambil data dari The Guardian Open Platform.

Input

None

Output

Corpus: A collection of documents from the Guardian newspaper.

Widget The Guardian mengambil tulisan dari The Guardian newspaper melalui API The Guardian. Agar widget dapat bekerja, kita perlu memasukan API key, yang dapat di peroleh dari access platform The Guardian.

Guardian-stamped.png
  • Insert the API key for the widget to work.
Guardian-API.png
  • 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

Widget The Guardian dapat digunakan seperti widget untuk mengambil data lainnya yang ada di Orange, seperti widget NY Times, widget Wikipedia, widget Twitter atau widget PubMed.

Dalam Workflow di bawah ini, kita menggunakan widget The Guardian untuk mengambil 240 artikel yang menyebut slovenia antara september 2017 dan september 2018. Text yang akan di ambil termasuk headline artikel dan content artikel. Setelah menekan tombol Search, artikel-artikel tersebut akan di ambil. Kita dapat mengamati hasilnya di widget Corpus Viewer.

Guardian-Example.png

Youtube

Referensi

Pranala Menarik