Author |
Xavier Llora |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.analytics.text.statistics |
DESCRIPTION
Given a collection of tokens from a document, this component counts all the different occurrences of the tokens. If the document contains multiple token sequences, the component aggregate all the sequences providing a cummulative count.
INPUTS
Name |
Description |
Example |
|---|---|---|
tokens |
The tokens to be counted 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 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 |
_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