class_docstr: Split records by new line.
docstr: Split a file into records using a specific strategy
  
  This LineSplitter splits the file on each line break.
  
  Args:
      file (str): path to the file to split
  
  Returns: generator for the individual records that were split from
  the file
docstr_tok: ["Split","a","file","into","records","using","a","specific","strategy","This","LineSplitter","splits","the","file","on","each","line","break",".","Args",":","file","(","str",")",":","path","to","the","file","to","split","Returns",":","generator","for","the","individual","records","that","were","split","from","the","file"]
code: def split(self, file):
      """Split a file into records using a specific strategy
  
      This LineSplitter splits the file on each line break.
  
      Args:
          file (str): path to the file to split
  
      Returns: generator for the individual records that were split from
      the file
      """
      with open(file, "r") as f:
          for line in f:
              yield line
  
imports: from __future__ import absolute_import
  import os
  import platform
  import sys
  import tempfile
  from abc import ABCMeta
  from abc import abstractmethod
  from six import with_metaclass
  from six.moves.urllib.parse import urlparse
  import sagemaker.amazon.common
  import sagemaker.local.utils
  import sagemaker.utils
label_desc: Use image node_id 1 for calling the LineSplitter obj's underlying member method code with example usage: obj.split(file) without return types