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.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.0 - December 12, 2013 (5.0 KB)

业主:

作者:

  • Rob Whitehead

SHA 256 校验和:

4cee78cb609e5dde1bedf1ed3316a61f6cffedbaf96c7aecfe28a8ec2ee620db

下载总量 3,560

这个版本 3,560

许可:

需要的 Ruby 版本:

链接: