Set whether to ignore whitespace changes (builder method).
(mut self, ignore: bool)
| 512 | |
| 513 | /// Set whether to ignore whitespace changes (builder method). |
| 514 | pub fn with_ignore_whitespace(mut self, ignore: bool) -> Self { |
| 515 | self.ignore_whitespace_changes = ignore; |
| 516 | self.filter_whitespace = ignore; |
| 517 | self |
| 518 | } |
| 519 | |
| 520 | /// Set the tokenizer configuration. |
| 521 | pub fn with_tokenizer(mut self, config: TokenizerConfig) -> Self { |
no outgoing calls