Class: Vivlio::Starter::CLI::Metrics::VocabularyStats
- Inherits:
-
Data
- Object
- Data
- Vivlio::Starter::CLI::Metrics::VocabularyStats
- Defined in:
- lib/vivlio/starter/cli/metrics/analyzer.rb
Overview
語彙分析結果を保持するイミュータブルデータ
Instance Attribute Summary collapse
-
#avg_word_length ⇒ Object
readonly
Returns the value of attribute avg_word_length.
-
#kanji_char_count ⇒ Object
readonly
Returns the value of attribute kanji_char_count.
-
#kanji_ratio ⇒ Object
readonly
Returns the value of attribute kanji_ratio.
-
#tokens_map ⇒ Object
readonly
Returns the value of attribute tokens_map.
-
#total_char_count ⇒ Object
readonly
Returns the value of attribute total_char_count.
-
#total_tokens ⇒ Object
readonly
Returns the value of attribute total_tokens.
-
#total_word_length ⇒ Object
readonly
Returns the value of attribute total_word_length.
-
#ttr ⇒ Object
readonly
Returns the value of attribute ttr.
-
#unique_tokens ⇒ Object
readonly
Returns the value of attribute unique_tokens.
Instance Attribute Details
#avg_word_length ⇒ Object (readonly)
Returns the value of attribute avg_word_length
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def avg_word_length @avg_word_length end |
#kanji_char_count ⇒ Object (readonly)
Returns the value of attribute kanji_char_count
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def kanji_char_count @kanji_char_count end |
#kanji_ratio ⇒ Object (readonly)
Returns the value of attribute kanji_ratio
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def kanji_ratio @kanji_ratio end |
#tokens_map ⇒ Object (readonly)
Returns the value of attribute tokens_map
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def tokens_map @tokens_map end |
#total_char_count ⇒ Object (readonly)
Returns the value of attribute total_char_count
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def total_char_count @total_char_count end |
#total_tokens ⇒ Object (readonly)
Returns the value of attribute total_tokens
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def total_tokens @total_tokens end |
#total_word_length ⇒ Object (readonly)
Returns the value of attribute total_word_length
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def total_word_length @total_word_length end |
#ttr ⇒ Object (readonly)
Returns the value of attribute ttr
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def ttr @ttr end |
#unique_tokens ⇒ Object (readonly)
Returns the value of attribute unique_tokens
40 41 42 |
# File 'lib/vivlio/starter/cli/metrics/analyzer.rb', line 40 def unique_tokens @unique_tokens end |