docstr: Read conll format data_file
  Args:
      file_path: path of target file
      text_index: index of text data, default 0
      label_index: index of label data, default 1
  
  Returns:
docstr_tok: ["Read","conll","format","data_file","Args",":","file_path",":","path","of","target","file","text_index",":","index","of","text","data",",","default","0","label_index",":","index","of","label","data",",","default","1","Returns",":"]
code: def read_conll_format_file(
      file_path: str, text_index: int = 0, label_index: int = 1
  ) -> Tuple[List[List[str]], List[List[str]]]:
      """
      Read conll format data_file
      Args:
          file_path: path of target file
          text_index: index of text data, default 0
          label_index: index of label data, default 1
  
      Returns:
  
      """
      x_data, y_data = [], []
      with open(file_path, "r", encoding="utf-8") as f:
          lines = f.read().splitlines()
          x: List[str] = []
          y: List[str] = []
          for line in lines:
              rows = line.split(" ")
              if len(rows) == 1:
                  x_data.append(x)
                  y_data.append(y)
                  x = []
                  y = []
              else:
                  x.append(rows[text_index])
                  y.append(rows[label_index])
      return x_data, y_data
  
imports: import os
  from typing import List
  from typing import Tuple
  import numpy
  import pandas
  from tensorflow.keras.utils import get_file
  from kashgari import macros
  from kashgari import utils
  from kashgari.logger import logger
  from kashgari.tokenizers.base_tokenizer import Tokenizer
  from kashgari.tokenizers.bert_tokenizer import BertTokenizer
label_desc: Use image node_id 1 for calling the DataReader obj's underlying member method code with example usage: obj.read_conll_format_file(file_path, text_index, label_index) and returns: x_data,  y_data