docstr: Test GetBestLSTMSymbolChoices.
docstr_tok: ["Test","GetBestLSTMSymbolChoices","."]
code: def test_LSTM_choices(self):
      """Test GetBestLSTMSymbolChoices."""
      self._api.SetVariable("lstm_choice_mode", "2")
      self._api.SetImageFile(self._image_file)
      self._api.Recognize()
      LSTM_choices = self._api.GetBestLSTMSymbolChoices()
      words = self._api.AllWords()
      self.assertEqual(len(words), len(LSTM_choices))
  
      for choice, word in zip(LSTM_choices, words):
          chosen_word = ""
          for timestep in choice:
              for alternative in timestep:
                  self.assertGreaterEqual(alternative[1], 0.0)
                  self.assertLessEqual(alternative[1], 2.0)
              chosen_symbol = timestep[0][0]
              if chosen_symbol != " ":
                  chosen_word += chosen_symbol
          self.assertEqual(chosen_word, word)
  
imports: import unittest
  import re
  import os.path
  import tesserocr
label_desc: Use image node_id 15 for calling the TestTessBaseApi obj's underlying member method code with example usage: obj.test_LSTM_choices() without return types