Module: TextStat

Defined in:
lib/textstat/version.rb,
lib/textstat/main.rb,
lib/textstat/basic_stats.rb,
lib/textstat/dictionary_manager.rb,
lib/textstat/readability_formulas.rb

Overview

TextStat version information

This module defines the current version of the TextStat gem. The version follows Semantic Versioning (semver.org).

Author:

  • Jakub Polak

Since:

  • 0.1.0

Defined Under Namespace

Modules: BasicStats, DictionaryManager, ReadabilityFormulas Classes: Main

Constant Summary collapse

GEM_PATH =

Path to the TextStat gem installation directory

This constant is used internally to locate dictionary files and other gem resources. It points to the root directory of the installed gem.

Examples:

TextStat::GEM_PATH  # => \"/path/to/gems/textstat-1.0.0\"

Returns:

  • (String)

    absolute path to gem root directory

File.dirname(File.dirname(File.dirname(__FILE__)))
VERSION =

Current version of the TextStat gem

Version 1.0.0 represents the first stable release with:

  • 36x performance improvement through dictionary caching

  • Modular architecture with separate modules for different functionality

  • Comprehensive test coverage (199 tests)

  • Support for 22 languages

  • Full backward compatibility with 0.1.x series

Examples:

TextStat::VERSION  # => \"1.0.0\"

Returns:

  • (String)

    current version string

Since:

  • 0.1.0

'1.0.0'.freeze