Class: Xberg::KeywordConfig
- Inherits:
-
Object
- Object
- Xberg::KeywordConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#algorithm ⇒ KeywordAlgorithm?
Returns the value of attribute algorithm.
-
#language ⇒ String?
Returns the value of attribute language.
-
#max_keywords ⇒ Integer?
Returns the value of attribute max_keywords.
-
#min_score ⇒ Float?
Returns the value of attribute min_score.
-
#rake_params ⇒ RakeParams?
Returns the value of attribute rake_params.
-
#yake_params ⇒ YakeParams?
Returns the value of attribute yake_params.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ KeywordConfig
constructor
A new instance of KeywordConfig.
Constructor Details
#initialize ⇒ KeywordConfig
Returns a new instance of KeywordConfig.
1805 |
# File 'sig/types.rbs', line 1805
def initialize: (?algorithm: KeywordAlgorithm, ?max_keywords: Integer, ?min_score: Float, ?language: String, ?yake_params: YakeParams, ?rake_params: RakeParams) -> void
|
Instance Attribute Details
#algorithm ⇒ KeywordAlgorithm?
Returns the value of attribute algorithm.
1798 1799 1800 |
# File 'sig/types.rbs', line 1798 def algorithm @algorithm end |
#language ⇒ String?
Returns the value of attribute language.
1801 1802 1803 |
# File 'sig/types.rbs', line 1801 def language @language end |
#max_keywords ⇒ Integer?
Returns the value of attribute max_keywords.
1799 1800 1801 |
# File 'sig/types.rbs', line 1799 def max_keywords @max_keywords end |
#min_score ⇒ Float?
Returns the value of attribute min_score.
1800 1801 1802 |
# File 'sig/types.rbs', line 1800 def min_score @min_score end |
#rake_params ⇒ RakeParams?
Returns the value of attribute rake_params.
1803 1804 1805 |
# File 'sig/types.rbs', line 1803 def rake_params @rake_params end |
#yake_params ⇒ YakeParams?
Returns the value of attribute yake_params.
1802 1803 1804 |
# File 'sig/types.rbs', line 1802 def yake_params @yake_params end |
Class Method Details
.default ⇒ KeywordConfig
1806 |
# File 'sig/types.rbs', line 1806
def self.default: () -> KeywordConfig
|