Class: TextAnalysis::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/text_analysis.rb

Instance Attribute Summary collapse

Instance Attribute Details

#most_common_non_stop_wordsObject

Returns the value of attribute most_common_non_stop_words.



35
36
37
# File 'lib/text_analysis.rb', line 35

def most_common_non_stop_words
  @most_common_non_stop_words
end

#most_common_wordsObject

Returns the value of attribute most_common_words.



35
36
37
# File 'lib/text_analysis.rb', line 35

def most_common_words
  @most_common_words
end

#stop_words_foundObject

Returns the value of attribute stop_words_found.



35
36
37
# File 'lib/text_analysis.rb', line 35

def stop_words_found
  @stop_words_found
end

#total_charactersObject

Returns the value of attribute total_characters.



35
36
37
# File 'lib/text_analysis.rb', line 35

def total_characters
  @total_characters
end

#total_characters_without_whitespacesObject

Returns the value of attribute total_characters_without_whitespaces.



35
36
37
# File 'lib/text_analysis.rb', line 35

def total_characters_without_whitespaces
  @total_characters_without_whitespaces
end

#total_wordsObject

Returns the value of attribute total_words.



35
36
37
# File 'lib/text_analysis.rb', line 35

def total_words
  @total_words
end