docstr: Method to return information in the file as a triple. eg. (user, item, value)
  
  :return: List with triples in the file
  :rtype: list
docstr_tok: ["Method","to","return","information","in","the","file","as","a","triple",".","eg",".","(","user",",","item",",","value",")",":","return",":","List","with","triples","in","the","file",":","rtype",":","list"]
code: def read_like_triple(self):
      """
      Method to return information in the file as a triple. eg. (user, item, value)
  
      :return: List with triples in the file
      :rtype: list
  
      """
  
      triple_list = []
  
      with open(self.input_file) as infile:
          for line in infile:
              if line.strip():
                  inline = line.split(self.sep)
                  if len(inline) == 1:
                      raise TypeError(
                          "Error: Space type (sep) is invalid!"
                      )
  
                  user, item, value = (
                      int(inline[0]),
                      int(inline[1]),
                      float(inline[2]),
                  )
                  triple_list.append((user, item, value))
  
      return triple_list
  
file_path: CaseRecommender/caserec/utils/process_data.py
imports: import pandas
  from caserec.utils.extra_functions import check_error_file
label_desc: Use image node_id 4 for calling the ReadFile obj's underlying member method code with example usage: obj.read_like_triple() and returns: triple_list