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 concordance of Tapor at http://tada.mcmaster.ca/Main/TAPoRwareHTMLConcordance.
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 could be 1(HTML), 2(XML), 3(Anything), 4(Tab). |
4 |
context |
Value can be 1,2,3 or 4 which corresponding to Words, Lines, Sentences or Paragraphs respectively. |
1 |
html_tag |
Any valid HTML tag in your submitted HTML text. |
body |
pattern |
Unix styled pattern you want to find in the text. |
* |
_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 |
context_length |
Number of words, lines, sentences or paragraphs before and after the specified context . |
5 |
Labels
Add Comment