docstr: Word toeknization over text is equal to over sentences.
docstr_tok: ["Word","toeknization","over","text","is","equal","to","over","sentences","."]
code: def test_transformations_equal(self):
      """Word toeknization over text is equal to over sentences."""
  
      idx1 = self.en_words.idx
      idx2 = self.en_word.transform(self.en_sents).idx
      self.assertListEqual(idx1, idx2)
  
      idx1 = self.ar_words.idx
      idx2 = self.ar_word.transform(self.ar_sents).idx
      self.assertListEqual(idx1, idx2)
  
      idx1 = self.ja_words.idx
      idx2 = self.ja_word.transform(self.ja_sents).idx
      self.assertListEqual(idx1, idx2)
  
file_path: polyglot/polyglot/tokenize/tests/test_base.py
imports: import unittest
  from ..base import SentenceTokenizer, WordTokenizer
  from ...base import Sequence
label_desc: Use image node_id 6 for calling the BaseTest obj's underlying member method code with example usage: obj.test_transformations_equal() without return types