Rohan Paul· @rohanpaul_ai · X·· 2026-10-28AI 评分39
AI 导读
Rohan Paul 分享了 OXR 的文档解析设计:把页面每个区块标注为 13 种元素类型之一,并按类型给出各自的输出格式。表格输出为 HTML 或 Markdown,公式和化学方程式输出为 LaTeX,分子结构输出为 SMILES;页眉和页脚默认丢弃,以免干扰正文。配图列出了 Caption、Footnote、Formula、Table、Chemical Equation、Code Block 等类型及其对应的 JSON 类型值和输出格式。
正文
OXR tags every block on a page as 1 of 13 element types and gives each type its own output format, so tables come out as HTML or Markdown, formulas and chemical equations as LaTeX, molecules as SMILES (a one-line text code for a chemical structure), and page headers and footers are dropped by default so they don’t clutter the main text.
来源:Rohan Paul · x.com