Class: Xberg::KeywordConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeKeywordConfig

Returns a new instance of KeywordConfig.

Parameters:



1816
# File 'sig/types.rbs', line 1816

def initialize: (?algorithm: KeywordAlgorithm, ?max_keywords: Integer, ?min_score: Float, ?language: String, ?yake_params: YakeParams, ?rake_params: RakeParams) -> void

Instance Attribute Details

#algorithmKeywordAlgorithm?

Returns the value of attribute algorithm.

Returns:



1809
1810
1811
# File 'sig/types.rbs', line 1809

def algorithm
  @algorithm
end

#languageString?

Returns the value of attribute language.

Returns:

  • (String, nil)


1812
1813
1814
# File 'sig/types.rbs', line 1812

def language
  @language
end

#max_keywordsInteger?

Returns the value of attribute max_keywords.

Returns:

  • (Integer, nil)


1810
1811
1812
# File 'sig/types.rbs', line 1810

def max_keywords
  @max_keywords
end

#min_scoreFloat?

Returns the value of attribute min_score.

Returns:

  • (Float, nil)


1811
1812
1813
# File 'sig/types.rbs', line 1811

def min_score
  @min_score
end

#rake_paramsRakeParams?

Returns the value of attribute rake_params.

Returns:



1814
1815
1816
# File 'sig/types.rbs', line 1814

def rake_params
  @rake_params
end

#yake_paramsYakeParams?

Returns the value of attribute yake_params.

Returns:



1813
1814
1815
# File 'sig/types.rbs', line 1813

def yake_params
  @yake_params
end

Class Method Details

.defaultKeywordConfig

Returns:



1817
# File 'sig/types.rbs', line 1817

def self.default: () -> KeywordConfig