class_docstr: **Conll2003** 的 **NER** 任务的处理 **Pipe** ， 该Pipe会：
  
      1. 复制 ``raw_words`` 列，并命名为 ``words`` ；
      2. 在 ``words`` , ``target`` 列建立词表，即创建 :class:`~fastNLP.core.Vocabulary` 对象，所以在返回的
        :class:`~fastNLP.io.DataBundle` 中将有两个 ``Vocabulary`` ；
      3. 将 ``words`` , ``target`` 列根据相应的词表转换为 index。
  
  处理之后 :class:`~fastNLP.core.DataSet` 中的内容如下：
  
  .. csv-table:: Following is a demo layout of DataSet returned by Conll2003Loader
     :header: "raw_words", "target", "words", "seq_len"
  
     "[Nadim, Ladki]", "[1, 2]", "[2, 3]", 2
     "[AL-AIN, United, Arab, ...]", "[3, 4,...]", "[4, 5, 6,...]", 6
     "[...]", "[...]", "[...]", .
  
  ``raw_words`` 列为 :class:`List` [ :class:`str` ], 是未转换的原始数据； ``words`` 列为 :class:`List` [ :class:`int` ]，
  是转换为 index 的输入数据； ``target`` 列是 :class:`List` [ :class:`int` ] ，是转换为 index 的 target。返回的 :class:`~fastNLP.core.DataSet` 
  中被设置为 input 有 ``words`` , ``target``, ``seq_len``；target 有 ``target`` 。
  
  :param encoding_type: ``target`` 列使用什么类型的 encoding 方式，支持 ``['bioes', 'bio']`` 两种。
  :param lower: 是否将 ``words`` 小写化后再建立词表，绝大多数情况都不需要设置为 ``True`` 。
  :param num_proc: 处理数据时使用的进程数目。
class_docstr_tok: ["*","*","Conll2003","*","*","\u7684","*","*","NER","*","*","\u4efb\u52a1\u7684\u5904\u7406","*","*","Pipe","*","*","\uff0c","\u8be5Pipe\u4f1a\uff1a","1",".","\u590d\u5236","``","raw_words","``","\u5217\uff0c\u5e76\u547d\u540d\u4e3a","``","words","``","\uff1b","2",".","\u5728","``","words","``",",","``","target","``","\u5217\u5efa\u7acb\u8bcd\u8868\uff0c\u5373\u521b\u5efa",":","class",":","`","~fastNLP.core.Vocabulary","`","\u5bf9\u8c61\uff0c\u6240\u4ee5\u5728\u8fd4\u56de\u7684",":","class",":","`","~fastNLP.io.DataBundle","`","\u4e2d\u5c06\u6709\u4e24\u4e2a","``","Vocabulary","``","\uff1b","3",".","\u5c06","``","words","``",",","``","target","``","\u5217\u6839\u636e\u76f8\u5e94\u7684\u8bcd\u8868\u8f6c\u6362\u4e3a","index\u3002","\u5904\u7406\u4e4b\u540e",":","class",":","`","~fastNLP.core.DataSet","`","\u4e2d\u7684\u5185\u5bb9\u5982\u4e0b\uff1a","..","csv-table",":",":","Following","is","a","demo","layout","of","DataSet","returned","by","Conll2003Loader",":","header",":","``","raw_words","''",",","``","target","''",",","``","words","''",",","``","seq_len","''","``","[","Nadim",",","Ladki","]","''",",","``","[","1",",","2","]","''",",","``","[","2",",","3","]","''",",","2","``","[","AL-AIN",",","United",",","Arab",",","...","]","''",",","``","[","3",",","4",",","...","]","''",",","``","[","4",",","5",",","6",",","...","]","''",",","6","``","[","...","]","''",",","``","[","...","]","''",",","``","[","...","]","''",",",".","``","raw_words","``","\u5217\u4e3a",":","class",":","`","List","`","[",":","class",":","`","str","`","]",",","\u662f\u672a\u8f6c\u6362\u7684\u539f\u59cb\u6570\u636e\uff1b","``","words","``","\u5217\u4e3a",":","class",":","`","List","`","[",":","class",":","`","int","`","]","\uff0c","\u662f\u8f6c\u6362\u4e3a","index","\u7684\u8f93\u5165\u6570\u636e\uff1b","``","target","``","\u5217\u662f",":","class",":","`","List","`","[",":","class",":","`","int","`","]","\uff0c\u662f\u8f6c\u6362\u4e3a","index","\u7684","target\u3002\u8fd4\u56de\u7684",":","class",":","`","~fastNLP.core.DataSet","`","\u4e2d\u88ab\u8bbe\u7f6e\u4e3a","input","\u6709","``","words","``",",","``","target","``",",","``","seq_len","``","\uff1btarget","\u6709","``","target","``","\u3002",":","param","encoding_type",":","``","target","``","\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) -> DataBundle:
      r"""
      传入文件路径，生成处理好的 :class:`~fastNLP.io.DataBundle` 对象。``paths`` 支持的路径形式可以参考 :meth:`fastNLP.io.Loader.load`
  
      :param paths:
      :return:
      """
      # 读取数据
      data_bundle = Conll2003NERLoader().load(paths)
      data_bundle = self.process(data_bundle)
  
      return 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 1 for calling the Conll2003NERPipe obj's underlying member method code with example usage: obj.process_from_file(paths) and returns: data_bundle