Author |
Lily Dong |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.tools.tapor.restservice |
DESCRIPTION
Demonstrates how to construct a interface to consume rest service of list words of Tapor at http://tada.mcmaster.ca/Main/TAPoRwareHTMLListWords.
INPUTS
Name |
Description |
Example |
|---|---|---|
text |
Input text to be analyzed. TYPE: java.lang.String TYPE: org.seasr.datatypes.BasicDataTypes.Strings TYPE: byte[] TYPE: org.seasr.datatypes.BasicDataTypes.Bytes TYPE: java.lang.Object |
|
OUTPUTS
Name |
Description |
Example |
|---|---|---|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
text |
Output XML document generated by TAPoR. TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
PROPERTIES
Name |
Description |
Default value |
|---|---|---|
_debug_level |
Controls the verbosity of debug messages printed by the component during execution. Possible values are: off, severe, warning, info, config, fine, finer, finest, all Append ',mirror' to any of the values above to mirror that output to the server logs. |
info |
out_format |
A select control for output format, and value can be 1(HTML), 2(XML tree), 3(XML text in HTML) or 4(Tab delimited text). |
4 |
list_option |
A HTML single valued selection control, and value can be all(All words), patt(Words matching pattern below), find(Words in the list below) or stop(All words except stop list below). |
all |
html_tag |
Any valid HTML tag in your submitted HTML text. |
body |
sorting |
A select control sorting, and value can be 2(by frequency), 1(alphabetically), 3(by the order of appearrence) or 4(by reversed alphabetic order). |
2 |
option_seletion |
Values are corresponding to the list option. |
glasgow |
_ignore_errors |
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component |
false |
Add Comment