class_docstr: Class for reading and processing standard format marker files and strings.
class_docstr_tok: ["Class","for","reading","and","processing","standard","format","marker","files","and","strings","."]
docstr: Open a standard format marker file for sequential reading.
  
  :param sfm_file: name of the standard format marker input file
  :type sfm_file: str
docstr_tok: ["Open","a","standard","format","marker","file","for","sequential","reading",".",":","param","sfm_file",":","name","of","the","standard","format","marker","input","file",":","type","sfm_file",":","str"]
code: def open(self, sfm_file):
      """
      Open a standard format marker file for sequential reading.
  
      :param sfm_file: name of the standard format marker input file
      :type sfm_file: str
      """
      if isinstance(sfm_file, PathPointer):
          self._file = sfm_file.open(self._encoding)
      else:
          self._file = codecs.open(sfm_file, "r", self._encoding)
  
imports: import codecs
  import re
  from io import StringIO
  from xml.etree.ElementTree import Element, ElementTree, SubElement, TreeBuilder
  from nltk.data import PathPointer, find
label_desc: Use image node_id 2 for calling the StandardFormat obj's underlying member method code with example usage: obj.open(sfm_file) without return types