Project
naknower
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Development
Dependencies