code: def _lazy_parse(text):
      for interaction in text.split("\n"):
          if interaction:
              yield json.loads(interaction)
  
file_path: magnitude/pymagnitude/third_party/allennlp/data/dataset_readers/atis.py
imports: from __future__ import with_statement
  from __future__ import absolute_import
  import json
  import logging
  from parsimonious.exceptions import ParseError
  from allennlp.common.file_utils import cached_path
  from allennlp.data.dataset_readers.dataset_reader import DatasetReader
  from allennlp.data.fields import Field, ArrayField, ListField, IndexField, ProductionRuleField, TextField, MetadataField
  from allennlp.data.instance import Instance
  from allennlp.data.token_indexers import SingleIdTokenIndexer, TokenIndexer
  from allennlp.data.tokenizers import Tokenizer, WordTokenizer
  from allennlp.data.tokenizers.word_splitter import SpacyWordSplitter
  from allennlp.semparse.worlds.atis_world import AtisWorld
  from io import open
label_desc: Use image node_id 1 for calling a global function with example usage: _lazy_parse(text) without return types