from incremental_embedding import run, WordContextMatrix
from river.datasets import SMSSpam
from nltk import word_tokenize

dataset = SMSSpam()
wcm = WordContextMatrix(10_000, 100, 3, is_ppmi=False)

run(dataset, wcm, on='body', tokenizer=word_tokenize)
ef0c5e268eea6bb7165a8e0507556921ac081268
<mask token>

<mask token>
run(dataset, wcm, on='body', tokenizer=word_tokenize)

<mask token>
dataset = SMSSpam()
wcm = WordContextMatrix(10000, 100, 3, is_ppmi=False)
run(dataset, wcm, on='body', tokenizer=word_tokenize)

from incremental_embedding import run, WordContextMatrix
from river.datasets import SMSSpam
from nltk import word_tokenize
dataset = SMSSpam()
wcm = WordContextMatrix(10000, 100, 3, is_ppmi=False)
run(dataset, wcm, on='body', tokenizer=word_tokenize)

from incremental_embedding import run, WordContextMatrix
from river.datasets import SMSSpam
from nltk import word_tokenize

dataset = SMSSpam()
wcm = WordContextMatrix(10_000, 100, 3, is_ppmi=False)

run(dataset, wcm, on='body', tokenizer=word_tokenize)