Class: Xberg::KeywordConfig
- Inherits:
-
Object
- Object
- Xberg::KeywordConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#algorithm ⇒ enum_KeywordAlgorithm
readonly
Returns the value of attribute algorithm.
-
#language ⇒ String?
readonly
Returns the value of attribute language.
-
#max_keywords ⇒ Integer
readonly
Returns the value of attribute max_keywords.
-
#min_score ⇒ Float
readonly
Returns the value of attribute min_score.
-
#ngram_range ⇒ NgramRange
readonly
Returns the value of attribute ngram_range.
-
#rake_params ⇒ RakeParams?
readonly
Returns the value of attribute rake_params.
-
#yake_params ⇒ YakeParams?
readonly
Returns the value of attribute yake_params.
Instance Method Summary collapse
-
#initialize ⇒ KeywordConfig
constructor
A new instance of KeywordConfig.
Constructor Details
#initialize ⇒ KeywordConfig
Returns a new instance of KeywordConfig.
1382 |
# File 'sig/types.rbs', line 1382
def initialize: (?algorithm: enum_KeywordAlgorithm, ?max_keywords: Integer, ?min_score: Float, ?ngram_range: NgramRange, ?language: String, ?yake_params: YakeParams, ?rake_params: RakeParams) -> void
|
Instance Attribute Details
#algorithm ⇒ enum_KeywordAlgorithm (readonly)
Returns the value of attribute algorithm.
1374 1375 1376 |
# File 'sig/types.rbs', line 1374 def algorithm @algorithm end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
1378 1379 1380 |
# File 'sig/types.rbs', line 1378 def language @language end |
#max_keywords ⇒ Integer (readonly)
Returns the value of attribute max_keywords.
1375 1376 1377 |
# File 'sig/types.rbs', line 1375 def max_keywords @max_keywords end |
#min_score ⇒ Float (readonly)
Returns the value of attribute min_score.
1376 1377 1378 |
# File 'sig/types.rbs', line 1376 def min_score @min_score end |
#ngram_range ⇒ NgramRange (readonly)
Returns the value of attribute ngram_range.
1377 1378 1379 |
# File 'sig/types.rbs', line 1377 def ngram_range @ngram_range end |
#rake_params ⇒ RakeParams? (readonly)
Returns the value of attribute rake_params.
1380 1381 1382 |
# File 'sig/types.rbs', line 1380 def rake_params @rake_params end |
#yake_params ⇒ YakeParams? (readonly)
Returns the value of attribute yake_params.
1379 1380 1381 |
# File 'sig/types.rbs', line 1379 def yake_params @yake_params end |