class_docstr: 处理 **Conll2003** 的数据，处理之后 :class:`~fastNLP.core.DataSet` 中的内容如下：
  
  .. csv-table::
     :header: "raw_words" , "pos", "chunk", "ner", "words", "seq_len"
  
     "[Nadim, Ladki]", "[0, 0]", "[1, 2]", "[1, 2]", "[2, 3]", 2
     "[AL-AIN, United, Arab, ...]", "[1, 2...]", "[3, 4...]", "[3, 4...]", "[4, 5, 6,...]", 6
     "[...]", "[...]", "[...]", "[...]", "[...]", .
  
  其中``words``, ``seq_len`` 是 input; ``pos``, ``chunk``, ``ner``, ``seq_len`` 是 target
  
  :param chunk_encoding_type: ``chunk`` 列使用什么类型的 encoding 方式，支持 ``['bioes', 'bio']`` 两种。
  :param ner_encoding_type: ``ner`` 列使用什么类型的 encoding 方式，支持 ``['bioes', 'bio']`` 两种。
  :param lower: 是否将 ``words`` 小写化后再建立词表，绝大多数情况都不需要设置为 ``True`` 。
  :param num_proc: 处理数据时使用的进程数目。
class_docstr_tok: ["\u5904\u7406","*","*","Conll2003","*","*","\u7684\u6570\u636e\uff0c\u5904\u7406\u4e4b\u540e",":","class",":","`","~fastNLP.core.DataSet","`","\u4e2d\u7684\u5185\u5bb9\u5982\u4e0b\uff1a","..","csv-table",":",":",":","header",":","``","raw_words","''",",","``","pos","''",",","``","chunk","''",",","``","ner","''",",","``","words","''",",","``","seq_len","''","``","[","Nadim",",","Ladki","]","''",",","``","[","0",",","0","]","''",",","``","[","1",",","2","]","''",",","``","[","1",",","2","]","''",",","``","[","2",",","3","]","''",",","2","``","[","AL-AIN",",","United",",","Arab",",","...","]","''",",","``","[","1",",","2","...","]","''",",","``","[","3",",","4","...","]","''",",","``","[","3",",","4","...","]","''",",","``","[","4",",","5",",","6",",","...","]","''",",","6","``","[","...","]","''",",","``","[","...","]","''",",","``","[","...","]","''",",","``","[","...","]","''",",","``","[","...","]","''",",",".","\u5176\u4e2d","``","words","``",",","``","seq_len","``","\u662f","input",";","``","pos","``",",","``","chunk","``",",","``","ner","``",",","``","seq_len","``","\u662f","target",":","param","chunk_encoding_type",":","``","chunk","``","\u5217\u4f7f\u7528\u4ec0\u4e48\u7c7b\u578b\u7684","encoding","\u65b9\u5f0f\uff0c\u652f\u6301","``","[","'bioes","'",",","'bio","'","]","``","\u4e24\u79cd\u3002",":","param","ner_encoding_type",":","``","ner","``","\u5217\u4f7f\u7528\u4ec0\u4e48\u7c7b\u578b\u7684","encoding","\u65b9\u5f0f\uff0c\u652f\u6301","``","[","'bioes","'",",","'bio","'","]","``","\u4e24\u79cd\u3002",":","param","lower",":","\u662f\u5426\u5c06","``","words","``","\u5c0f\u5199\u5316\u540e\u518d\u5efa\u7acb\u8bcd\u8868\uff0c\u7edd\u5927\u591a\u6570\u60c5\u51b5\u90fd\u4e0d\u9700\u8981\u8bbe\u7f6e\u4e3a","``","True","``","\u3002",":","param","num_proc",":","\u5904\u7406\u6570\u636e\u65f6\u4f7f\u7528\u7684\u8fdb\u7a0b\u6570\u76ee\u3002"]
docstr: 传入文件路径，生成处理好的 :class:`~fastNLP.io.DataBundle` 对象。``paths`` 支持的路径形式可以参考 :meth:`fastNLP.io.Loader.load`
  
  :param paths:
  :return:
docstr_tok: ["\u4f20\u5165\u6587\u4ef6\u8def\u5f84\uff0c\u751f\u6210\u5904\u7406\u597d\u7684",":","class",":","`","~fastNLP.io.DataBundle","`","\u5bf9\u8c61\u3002","``","paths","``","\u652f\u6301\u7684\u8def\u5f84\u5f62\u5f0f\u53ef\u4ee5\u53c2\u8003",":","meth",":","`","fastNLP.io.Loader.load","`",":","param","paths",":",":","return",":"]
code: def process_from_file(self, paths):
      r"""
      传入文件路径，生成处理好的 :class:`~fastNLP.io.DataBundle` 对象。``paths`` 支持的路径形式可以参考 :meth:`fastNLP.io.Loader.load`
  
      :param paths:
      :return:
      """
      data_bundle = ConllLoader(
          headers=["raw_words", "pos", "chunk", "ner"]
      ).load(paths)
      return self.process(data_bundle)
  
imports: from .pipe import Pipe
  from .utils import _add_chars_field
  from .utils import _indexize, _add_words_field
  from .utils import iob2, iob2bioes
  from fastNLP.io.data_bundle import DataBundle
  from ..loader.conll import Conll2003NERLoader, OntoNotesNERLoader
  from ..loader.conll import PeopleDailyNERLoader, WeiboNERLoader, MsraNERLoader, ConllLoader
  from ...core.vocabulary import Vocabulary
label_desc: Use image node_id 3 for calling the Conll2003Pipe obj's underlying member method code with example usage: obj.process_from_file(paths) and returns: self