parameters: (en, he)
docstring: Returns a jagged array terminating in dicts like {'he': '', 'en': ''} which offers preview
      text merging what's available in jagged string arrays 'en' and 'he'.
docstring_summary: Returns a jagged array terminating in dicts like {'he': '', 'en': ''} which offers preview
      text merging what's available in jagged string arrays 'en' and 'he'.
docstring_tokens: Returns a jagged array terminating in dicts like { he : en : } which offers preview text merging what s available in jagged string arrays en and he .
function: def text_preview(en, he):
      """
      Returns a jagged array terminating in dicts like {'he': '', 'en': ''} which offers preview
      text merging what's available in jagged string arrays 'en' and 'he'.
      """
      n_chars = 80
      en = [en] if isinstance(en, str) else [""] if en == [] or not isinstance(en, list) else en
      he = [he] if isinstance(he, str) else [""] if he == [] or not isinstance(he, list) else he
  
      def preview(section):
          """Returns a preview string for list section"""
          section =[s for s in section if isinstance(s, str)]
          section = " ".join(map(str, section))
          return strip_tags(section[:n_chars]).strip()
  
      if not any(isinstance(x, list) for x in en + he):
          return {'en': preview(en), 'he': preview(he)}
      else:
          zipped = zip_longest(en, he)
          return [text_preview(x[0], x[1]) for x in zipped]
function_tokens: def text_preview ( en , he ) : n_chars = 80 en = [ en ] if isinstance ( en , str ) else [ "" ] if en == [ ] or not isinstance ( en , list ) else en he = [ he ] if isinstance ( he , str ) else [ "" ] if he == [ ] or not isinstance ( he , list ) else he def preview ( section ) : """Returns a preview string for list section""" section = [ s for s in section if isinstance ( s , str ) ] section = " " . join ( map ( str , section ) ) return strip_tags ( section [ : n_chars ] ) . strip ( ) if not any ( isinstance ( x , list ) for x in en + he ) : return { 'en' : preview ( en ) , 'he' : preview ( he ) } else : zipped = zip_longest ( en , he ) return [ text_preview ( x [ 0 ] , x [ 1 ] ) for x in zipped ]