Author |
Xavier Llora |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.analytics.text.readability |
DESCRIPTION
Computes the Flesch Kincaid readability measure as explained at http://en.wikipedia.org/wiki/Flesch-Kincaid_Readability_Test. The code is based on the work done by Daniel Shiffman at http://www.shiffman.net/teaching/a2z/week1/
INPUTS
Name |
Description |
Example |
|---|---|---|
location |
Item location TYPE: java.lang.String TYPE: org.seasr.datatypes.BasicDataTypes.Strings TYPE: byte[] TYPE: org.seasr.datatypes.BasicDataTypes.Bytes TYPE: java.lang.Object |
|
text |
Text content of the url page. TYPE: java.lang.String TYPE: org.seasr.datatypes.BasicDataTypes.Strings TYPE: byte[] TYPE: org.seasr.datatypes.BasicDataTypes.Bytes TYPE: java.lang.Object |
|
document_title |
Item title |
|
OUTPUTS
Name |
Description |
Example |
|---|---|---|
html |
A report of the Flesch Kincaid readability measures. TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
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 |
template |
The template to use for wrapping the HTML input. |
org/seasr/meandre/components/analytics/text/readability/FleschKincaidReadabilityMeasure.vm |
_stream_id |
Defines the stream id used to identify a particular stream of data |
|
_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 |
Labels
Add Comment