Declared in NSString+RNTextStatistics.h

Tasks

Readability Tests

Counting

Averages

Utilities

  • – cleanText

    Clean the text of non-alphanumeric characters, clean terminators, and remove newlines.

Instance Methods

automatedReadabilityIndex

Get the Automated Readability Index for a string of text.

- (float)automatedReadabilityIndex

Declared In

NSString+RNTextStatistics.h

averageSyllablesPerWord

Get the average number of syllables per word in a string.

- (float)averageSyllablesPerWord

Declared In

NSString+RNTextStatistics.h

averageWordsPerSentence

Get the average number of words per sentence in a string

- (float)averageWordsPerSentence

Declared In

NSString+RNTextStatistics.h

cleanText

Clean the text of non-alphanumeric characters, clean terminators, and remove newlines.

- (NSString *)cleanText

Declared In

NSString+RNTextStatistics.h

colemanLiauIndex

Get the Coleman Liau Index for a string of text.

- (float)colemanLiauIndex

Declared In

NSString+RNTextStatistics.h

fleschKincaidGradeLevel

Get the Flesch Kincaid Grade Level for a string of text.

- (float)fleschKincaidGradeLevel

Declared In

NSString+RNTextStatistics.h

fleschKincaidReadingEase

Get the Flesch Kincaid Reading Ease for a string of text.

- (float)fleschKincaidReadingEase

Declared In

NSString+RNTextStatistics.h

gunningFogIndex

Get the Gunning Fog Index for a string of text.

- (float)gunningFogIndex

Declared In

NSString+RNTextStatistics.h

letterCount

Get the total number of alphabetical characters in a string.

- (NSInteger)letterCount

Declared In

NSString+RNTextStatistics.h

percentageWordsWithThreeSyllablesWithProperNouns:

Get the percentage of words with at least 3 syllables in a string.

- (float)percentageWordsWithThreeSyllablesWithProperNouns:(BOOL)countProperNouns

Parameters

countProperNouns

Decide if proper nouns should be counted as words

See Also

Declared In

NSString+RNTextStatistics.h

sentenceCount

Get the total number of sentences in a string.

- (NSInteger)sentenceCount

Declared In

NSString+RNTextStatistics.h

smogIndex

Get the SMOG Index for a string of text.

- (float)smogIndex

See Also

Declared In

NSString+RNTextStatistics.h

syllableCount

Get the total number of syllables in a word string.

- (NSInteger)syllableCount

Declared In

NSString+RNTextStatistics.h

syllableTotal

Get the total number of syllables in a string.

- (NSInteger)syllableTotal

Declared In

NSString+RNTextStatistics.h

wordCount

Get the total number of words in a string.

- (NSInteger)wordCount

Declared In

NSString+RNTextStatistics.h

wordsWithThreeSyllablesWithProperNouns:

Get the total number of words with at least 3 syllables in a string.

- (NSInteger)wordsWithThreeSyllablesWithProperNouns:(BOOL)countProperNouns

Parameters

countProperNouns

Decide if proper nouns should be counted as words

Declared In

NSString+RNTextStatistics.h