Author |
Boris Capitanu |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.transform.text |
DESCRIPTION
Converts CSV text to tount counts.
INPUTS
Name |
Description |
Example |
|---|---|---|
text |
The text to be converted 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 |
|---|---|---|
token_counts |
The token counts TYPE: org.seasr.datatypes.BasicDataTypes.IntegersMap |
|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
PROPERTIES
Name |
Description |
Default value |
|---|---|---|
ordered |
Should the resulting token counts be ordered? |
true |
_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 |
token_pos |
The position of the token (the 'token' column) in the CSV (0=first, 1=second, etc.) |
0 |
count_pos |
The position of the count (the 'count' column) in the CSV (0=first, 1=second, etc.) |
1 |
tokenSeparator |
The token to use to separate the field values |
, |
header |
Does the input contain a header? |
true |
_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