class_docstr: 处理 **OntoNotes** 的 **NER** 数据，处理之后 :class:`~fastNLP.core.DataSet` 中的内容如下：
  
  .. csv-table::
     :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`` 。
class_docstr_tok: ["\u5904\u7406","*","*","OntoNotes","*","*","\u7684","*","*","NER","*","*","\u6570\u636e\uff0c\u5904\u7406\u4e4b\u540e",":","class",":","`","~fastNLP.core.DataSet","`","\u4e2d\u7684\u5185\u5bb9\u5982\u4e0b\uff1a","..","csv-table",":",":",":","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"]
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 = OntoNotesNERLoader().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 1 for calling the OntoNotesNERPipe obj's underlying member method code with example usage: obj.process_from_file(paths) and returns: self