Removes the specified collection of words from this StopWordDictionary.
A word is removed as it is added: without surrounding whitespace and in lower case.
defremove_range(self,words):...
Parameter
Type
Description
words
Iterable[str]
The collection of words to remove.
Raises
Description
RuntimeError
The call changes the dictionary of an index that contains documents, is not in the IndexStatus.ready status, or is disposed.
Example
# Assume `stop_words` is an instance of StopWordDictionaryifstop_words.contains("But")andstop_words.contains("BY"):# Remove the words (case-insensitive)stop_words.remove_range(["but","by"])
remove_range
Removes the specified collection of words from this StopWordDictionary.
A word is removed as it is added: without surrounding whitespace and in lower case.
defremove_range(self,words):...
Parameter
Type
Description
words
list[str]
The collection of words to remove.
Raises
Description
RuntimeError
The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed.
Example
# Assuming `stop_words` is an instance of StopWordDictionaryifstop_words.contains("But")andstop_words.contains("BY"):# Remove words from the dictionarystop_words.remove_range(["but","by"])```### AliasesThesenamescall`remove_range`too,limitedtotheoverloadslisted.|Alias|Accepts||:-|:-||`remove_range_files`|`remove_range_files(words)`<br>`remove_range_files(words)`||`remove_range_strings`|`remove_range_strings(words)`<br>`remove_range_strings(words)`||`remove_range_ienumerable`|`remove_range_ienumerable(words)`|### See Also*class[`StopWordDictionary`](/search/python-net/groupdocs.search.dictionaries/stopworddictionary/)
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.