Size: 4479
Comment:
|
Size: 6199
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
==== ICARUS-Weblicht-Perspective ==== | = ICARUS-Weblicht-Perspective = |
Line 4: | Line 4: |
===== Toolbars: ===== | [[ICARUS|Back To ICARUS Main Page]] <<Anchor(icarus-weblicht-index)>> == Index: == I. [[#icarus-webchain-toolbar|Webchain Toolbar]] I. [[#icarus-webchain-toolbar|Webservice Toolbar]] I. [[#how-to-new-webservice|How to create a new webservice]] I. [[#how-to-new-webchain|How to create a new Webchain]] <<Anchor(icarus-webchain-toolbar)>> === Webchain Toolbar: === |
Line 6: | Line 16: |
* Save Webchains * Run Webchain * Add New Webchain * Delete Webchain * Clone existing Webchain * Rename Webchain * Edit Webchain * Show Webservice {{attachment:weblicht_webservice_inspect.png}} Note: only read, to edit the webservice use the {{attachment:weblicht_webservice_edit.png}} edit webservice button inside the webservice view tab |
* {{attachment:weblicht_rename-chain.png}} = Save all {{attachment:webchain.png}} webchains (''ICARUS\data\webchain.xml'') * {{attachment:weblicht_execute-chain.png}} = Execute the selected {{attachment:webchain.png}} webchain * {{attachment:weblicht_add-chain.png}} = Add New Webchain * {{attachment:weblicht_delete-chain.png}} = Delete the selected {{attachment:webchain.png}} webchain * {{attachment:weblicht_clone-chain.png}} = Clone the selected {{attachment:webchain.png}} webchain * {{attachment:weblicht_rename-chain.png}} = Open dialog to rename the selected {{attachment:webchain.png}} webchain * {{attachment:weblicht_edit-chain.png}} = Edit the selected {{attachment:webchain.png}} webchain * {{attachment:weblicht_webservice_inspect.png}} = Show {{attachment:webservice.png}} webservice details. Note: read-only mode, to edit the webservice use the {{attachment:weblicht_edit-service.png}} edit webservice button that can be found within the {{attachment:weblicht_webservices.png}} webservice view tab [[#icarus-weblicht-index|Back To Index]] <<Anchor(icarus-webservice-toolbar)>> === WebserviceToolbar: === |
Line 15: | Line 31: |
* Save Webservice * Add Webservice * Delete Webservice * Clone Webservice * Edit Webservice * Sort Webservices ascending * Sort Webservices descending |
* {{attachment:weblicht_save-service.png}} =Save Webservice * {{attachment:weblicht_new-service.png}} = Add Webservice * {{attachment:weblicht_delete-service.png}} = Delete Webservice * {{attachment:weblicht_clone-service.png}} = Clone Webservice * {{attachment:weblicht_edit-service.png}} = Edit Webservice * {{attachment:weblicht_sort-service-asc.png}} = Sort webservices in ascending order * {{attachment:weblicht_sort-service-desc.png}} = Sort webservices in descending order |
Line 23: | Line 39: |
===== How to create a new Webservice: ===== This requires the following steps: |
[[#icarus-weblicht-index|Back To Index]] <<Anchor(how-to-new-webservice)>> === How to create a new webservice: === Creating a new webservice require the following steps: |
Line 27: | Line 47: |
1. Click {{attachment:weblicht_webservice_add.png}} to create a new webservice. Then the new webservice window will show up. [[attachment:weblicht_new-webservice.png|{{attachment:weblicht_new-webservice.png|attachment:weblicht_new-webservice.png|width="200"}}]] | 1. Click {{attachment:weblicht_new-service.png}} to create a new webservice. Then the new webservice window will show up. [[attachment:weblicht_new-webservice.png|{{attachment:weblicht_new-webservice.png|attachment:weblicht_new-webservice.png|height="200"}}]] |
Line 29: | Line 49: |
1. This will add the webservice to the webservice list to the left. Select the webservice and press {{attachment:weblicht_webservice_edit.png}} to edit the io-features. | 1. This will add the webservice to the webservice list to the left. Select the webservice and click {{attachment:weblicht_edit-service.png}} to edit the io-features. |
Line 37: | Line 57: |
===== How to create a new Webchain: ===== Before creating a new webchain {{attachment:weblicht_webchain.png}} the required webservices {{attachment:weblicht_webservices.png}} must be added. |
[[#icarus-weblicht-index|Back To Index]] <<Anchor(how-to-new-webchain)>> === How to create a new webchain: === Before creating a new webchain {{attachment:weblicht_webchain.png}} all necessary {{attachment:webservice.png}} webservices {{attachment:weblicht_webservices.png}} must have been speficied. |
Line 41: | Line 65: |
1. Click {{attachment:weblicht_webchain_add.png}} to create a new webchain. Then the "new webchain dialog" will show up [[attachment:weblicht_webchain_new.png|{{attachment:weblicht_webchain_new.png|attachment:weblicht_webchain_new.png|width="250"}}]] | 1. Click {{attachment:weblicht_new-service.png}} to create a new webchain. Then the "new webchain dialog" will show up [[attachment:weblicht_webchain_new.png|{{attachment:weblicht_webchain_new.png|attachment:weblicht_webchain_new.png|height="150"}}]] |
Line 47: | Line 71: |
1. The webchain is executed using {{attachment:weblicht_webchain_execute.png}} the button. | 1. The webchain is executed using {{attachment:weblicht_execute-chain.png}} the button. |
Line 56: | Line 80: |
[[#icarus-weblicht-index|Back To Index]] |
ICARUS-Weblicht-Perspective
The perspective provides an easy way to use CLARIN-D Webservices (WebLicht Tübingen):
Index:
Webchain Toolbar:
= Save all
webchains (ICARUS\data\webchain.xml)
= Execute the selected
webchain
= Add New Webchain
= Delete the selected
webchain
= Clone the selected
webchain
= Open dialog to rename the selected
webchain
= Edit the selected
webchain
= Show
webservice details. Note: read-only mode, to edit the webservice use the
edit webservice button that can be found within the
webservice view tab
WebserviceToolbar:
=Save Webservice
= Add Webservice
= Delete Webservice
= Clone Webservice
= Edit Webservice
= Sort webservices in ascending order
= Sort webservices in descending order
How to create a new webservice:
Creating a new webservice require the following steps:
Switch to the
tab (on the left)
Click
to create a new webservice. Then the new webservice window will show up.
- Fill in all the required information and press "ok". Note: The input and output features will be added in step 5.
This will add the webservice to the webservice list to the left. Select the webservice and click
to edit the io-features.
The io-features are all attribute-name/attribute-value pairs. E.g. lang: de (name = lang; value = de), type: text/plain (name=type; value = text/plain) if there is no value only the name must be specified.
- Apply all changes - now the webservice may be used within webchains.
Example webservice information (screenshot taken from WebLicht Tübingen)
and the resulting ICARUS webservice
How to create a new webchain:
Before creating a new webchain all necessary
webservices
must have been speficied.
Switch to the
tab (on the left)
Click
to create a new webchain. Then the "new webchain dialog" will show up
- Static Input = The user can specify a string that is always used as an input when executing the webchain.
- Location = A file is used as input (user must ensure by hisself that the input is a valid / readable file for the io-webervice).
- Dynamic = Whenever the webchain is executed a dialog shows up where the user may specify a string that will be passed to the webchain.
Add all desired webservices to the chain. Example:
- For each webchain one output must be specified. The webchain output can be saved to a file or diplayed within ICARUS (dynamic) (if there is a presenter that can handle the output data)
The webchain is executed using
the button.
Example: The Webchain shown in 4.) was executed, using "Karin fliegt nach New York. Sie will dort Urlaub machen." as a static input. The output was set to dynamic and therefore the result was passed to the graph outline tab. The resulting parse of the two sentences is shown below:
Any webservices and chains the user created (and saved) can be found in the icarus folder under the following destination: icarus\data\weblicht.xml (webservices) and icarus\data\webchain.xml (Webchains).