Class: VivlioStarter::CLI::Metrics::ReadabilityScore

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/metrics/analyzer.rb

Overview

読解難度を保持するイミュータブルデータ。 features は全体集計時に章をまたいで合算するための生の特徴量。

Instance Attribute Summary collapse

Instance Attribute Details

#featuresObject (readonly)

Returns the value of attribute features

Returns:

  • (Object)

    the current value of features



68
69
70
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 68

def features
  @features
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



68
69
70
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 68

def label
  @label
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



68
69
70
# File 'lib/vivlio_starter/cli/metrics/analyzer.rb', line 68

def score
  @score
end