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.
244 |
# File 'sig/types.rbs', line 244
def initialize: (?mode: String, ?preserve_important_words: bool) -> void
|
Instance Attribute Details
#mode ⇒ String?
Returns the value of attribute mode.
241 242 243 |
# File 'sig/types.rbs', line 241 def mode @mode end |
#preserve_important_words ⇒ Boolean?
Returns the value of attribute preserve_important_words.
242 243 244 |
# File 'sig/types.rbs', line 242 def preserve_important_words @preserve_important_words end |
Class Method Details
.default ⇒ TokenReductionOptions
245 |
# File 'sig/types.rbs', line 245
def self.default: () -> TokenReductionOptions
|