You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected behavior is pretty straightforward: passing a list of words in remove_words should filter them from the word frequency vector of each document, thus removing them from the Corpus object. Which could be checked by not finding them in the Corpus.dictionary.items():
Description
While building a
Corpus
, using thelitstudy.build_corpus()
method I have found thatremove_word
argument is not acting how it should be:Expected behavior
The expected behavior is pretty straightforward: passing a list of words in
remove_words
should filter them from the word frequency vector of each document, thus removing them from the Corpus object. Which could be checked by not finding them in theCorpus.dictionary.items()
:Observed behavior
The words are not removed at all:
Raises:
The text was updated successfully, but these errors were encountered: