code: def test_online_training(self, corpus):
      w2v = Word2Vec(workers=1)
      w2v.fit(corpus)
      embeddings = w2v.transform(
          [f"{URL}#{entity}" for entity in ROOTS_WITHOUT_URL]
      )
      assert len(embeddings) == 3
      corpus.append(
          [
              (
                  "http://pyRDF2Vec#Alice",
                  "http://pyRDF2Vec#knows",
                  "http://pyRDF2Vec#Casper",
                  "http://pyRDF2Vec#knows",
                  "http://pyRDF2Vec#Mario",
              )
          ]
      )
      w2v.fit(corpus, True)
      embeddings = w2v.transform(
          [f"{URL}#{entity}" for entity in ROOTS_WITHOUT_URL]
      )
      assert len(embeddings) == 3
  
file_path: pyRDF2Vec/tests/embedders/test_word2vec.py
imports: import itertools
  import numpy
  import pytest
  from pyrdf2vec.embedders import Word2Vec
label_desc: Use image node_id 5 for calling the TestWord2Vec obj's underlying member method code with example usage: obj.test_online_training(corpus) without return types