<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          xpaf開源解析框架

          聯(lián)合創(chuàng)作 · 2023-09-28 15:48

          XPath-based Parsing Framework (XPaF) 是一個(gè)簡(jiǎn)單、方便的開源解析框架,便于從 HTML 和 XML 文檔中提取語法上的相關(guān)性(subject-predicate-object triples)。

          代碼示例:

          <table>
            <tr>
              <td class="name">Aaron</td>
              <td class="occ">Engineer</td>
            </tr>
            <tr>
              <td class="name">Jennifer</td>
              <td class="occ">Archeologist</td>
            </tr>
          </table>
          parser_name: "my_parser"
          relation_tmpls {
            subject: "http://td[@class='name']"
            predicate: "occupation"
            object: "http://td[@class='occ']"
          
            subject_cardinality: MANY
            object_cardinality: MANY
          }


          瀏覽 24
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  激情五月色情在线播放 | 国产一起草| 日本超碰在线 | 特级西西444kkk高清视频 | 九九精品在线视频 |