RubyGems Navigation menu

naknower 0.0.0

In this initial build, several functions are available on the Novel object: word_count, which is self-explanatory word_frequency, which returns a hash containing key value pairs of the 'word => number_of_times_that_word_appears_in_the_text' variety word_find, which takes a string as an argument and returns the number of times the string appears in text. most_common_words, which returns each of the words that is the most common or tied for most common. All functions are case-insensitive and ignore punctuation.

Versions:

  1. 0.0.0 - December 11, 2013 (5 KB)

Authors:

  • Rob Whitehead

Owners:

6b15a92812b54a48c8b858db1dd27a5a

Total downloads 439

For this version 439

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'naknower', '~> 0.0.0' = Copy to clipboard Copied!

install:
gem install naknower = Copy to clipboard Copied!

Links: