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
letcounter=newCounter();letcounter_another=newCounter();lettext=`I am firm, You are obstinate, He is a pig-headed fool. I am righteously indignant, you are annoyed, he is making a fuss over nothing. I have reconsidered the matter, you have changed your mind, he has gone back on his word.`letwords=tokenize(text);words.map(w=>{counter.inc(w);});counter.incAll(words);counter_another.incAll(['the','the','the','the']);counter.keys();counter.values();counter.size();counter.normalize();counter.maxCount();counter.argMax();counter.elementwiseMax(counter_another);counter.subtract(counter_another);