docstr: Test that we can retrieve the vocabulary from the model.
docstr_tok: ["Test","that","we","can","retrieve","the","vocabulary","from","the","model","."]
code: def test_get_vocabulary(self):
      """
      Test that we can retrieve the vocabulary from the model.
      """
  
      for m in self.models:
          vocab = m.vocabulary
          self.assertTrue(isinstance(vocab, turicreate.SArray))
          self.assertEqual(len(vocab), 25)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import os
  import tempfile
  import shutil
  import unittest
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits.topic_model import topic_model
  from turicreate.toolkits.text_analytics import parse_sparse
  from turicreate.toolkits.text_analytics import parse_docword
  from turicreate.toolkits.topic_model import perplexity
  from .None import util
  import time
  import random
  import numpy
  import itertools
label_desc: Use image node_id 8 for calling the BasicTest obj's underlying member method code with example usage: obj.test_get_vocabulary() without return types