assembl.nlp.wordcounter module
Count number of occurences of stemmed words for the creativity widget.
-
class
assembl.nlp.wordcounter.
StemSet
[source]
Bases: set
-
add
(word, weight=1.0)[source]
Add an element to a set.
This has no effect if the element is already present.
-
class
assembl.nlp.wordcounter.
WordCounter
(langs, min_len=3)[source]
Bases: collections.defaultdict