Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Metrics to determine readability and comprehension difficulty for contemporary English text

License

Notifications You must be signed in to change notification settings

brackendev/Readability-Objective-C

Repository files navigation

Readability-Objective-C

Determine readability and comprehension difficulty for contemporary English text.

  • iOS reference platform, 9.3 minimum version.
  • Example app and tests included.

Metrics Included

Installation

CocoaPods is the easiest way to use this project. Add the following to your project Podfile:

pod 'Readability-Objective-C', :git => 'https://github.com/brackendev/Readability-Objective-C.git'

It is a good idea to specifiy the commit. For example:

pod 'Readability-Objective-C', :git => 'https://github.com/brackendev/Readability-Objective-C.git', commit => '47d2b475ba7f4b3169321d61df552dd2a912cee9'

Example Usage

  1. Import it:

    #import <Readability-Objective-C/Readability.h>
  2. Use it:

    [Readability automatedReadabilityIndexForString:@"Text"];
    [Readability colemanLiauIndexForString:@"Text"];
    [Readability fleschKincaidGradeLevelForString:@"Text"];
    [Readability fleschReadingEaseForString:@"Text"];
    [Readability gunningFogScoreForString:@"Text"];
    [Readability smogGradeForString:@"Text"];

Note: See the example view controller.

Acknowledgements

This project makes use of the following third-party libraries:

Ports

Author

Bracken Spencer

License

Readability-Objective-C is released under the MIT license. See the LICENSE file for more info.

About

Metrics to determine readability and comprehension difficulty for contemporary English text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published