Class: Xberg::TokenReductionOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTokenReductionOptions

Returns a new instance of TokenReductionOptions.

Parameters:

  • mode: (String)
  • preserve_important_words: (Boolean)


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

def initialize: (?mode: String, ?preserve_important_words: bool) -> void

Instance Attribute Details

#modeString (readonly)

Returns the value of attribute mode.

Returns:

  • (String)


2594
2595
2596
# File 'sig/types.rbs', line 2594

def mode
  @mode
end

#preserve_important_wordsBoolean (readonly)

Returns the value of attribute preserve_important_words.

Returns:

  • (Boolean)


2595
2596
2597
# File 'sig/types.rbs', line 2595

def preserve_important_words
  @preserve_important_words
end