Class: Xberg::TokenReductionOptions
- Inherits:
-
Object
- Object
- Xberg::TokenReductionOptions
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#mode ⇒ String?
Returns the value of attribute mode.
-
#preserve_important_words ⇒ Boolean?
Returns the value of attribute preserve_important_words.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ TokenReductionOptions
constructor
A new instance of TokenReductionOptions.
Constructor Details
#initialize ⇒ TokenReductionOptions
Returns a new instance of TokenReductionOptions.
241 |
# File 'sig/types.rbs', line 241
def initialize: (?mode: String, ?preserve_important_words: bool) -> void
|
Instance Attribute Details
#mode ⇒ String?
Returns the value of attribute mode.
238 239 240 |
# File 'sig/types.rbs', line 238 def mode @mode end |
#preserve_important_words ⇒ Boolean?
Returns the value of attribute preserve_important_words.
239 240 241 |
# File 'sig/types.rbs', line 239 def preserve_important_words @preserve_important_words end |
Class Method Details
.default ⇒ TokenReductionOptions
242 |
# File 'sig/types.rbs', line 242
def self.default: () -> TokenReductionOptions
|