Class Index | File Index

Classes


Class SentenceDescription

SentenceDescription holds the sentence text and its calculated features - normalizes the features - store feature as (1 - normalized-feature-value) for display purposes
Defined in: SentenceDescription.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
SentenceDescription(wordLen, sentLen, vocCompl, nomForm, sentStructCompl, text)
Method Summary
Method Attributes Method Name and Description
 
returns the feature values of the sentence
 
returns the sentence text
Class Detail
SentenceDescription(wordLen, sentLen, vocCompl, nomForm, sentStructCompl, text)
Parameters:
{number} wordLen
readability-feature 'word length'
{number} sentLen
readability-feature 'sentence length'
{number} vocCompl
readability-feature 'vocabulary complexity'
{number} nomForm
readability-feature 'nominal forms'
{number} sentStructCompl
readability-feature 'sentence structure complexity'
{string} text
sentence text
Method Detail
getProperties()
returns the feature values of the sentence

getText()
returns the sentence text

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jun 19 2012 23:24:20 GMT+0200 (MESZ)