Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -7,9 +7,9 @@ task_categories:
|
|
7 |
# Dataset Description
|
8 |
> English version is [here](./README_English.md)
|
9 |
|
10 |
-
这里有两个数据集:*raw_formulas*和*
|
11 |
|
12 |
-
我们在*arxiv*上爬取了约100万条未经过清洗以及文本分词的latex公式的图片文本对从而得到了*raw_formulas*数据集。在将*raw_formulas
|
13 |
|
14 |
渲染公式对应的图片时,需要用到以下外部包:
|
15 |
* amsmath
|
@@ -46,7 +46,7 @@ task_categories:
|
|
46 |
* \textheight
|
47 |
* \rule
|
48 |
|
49 |
-
## *
|
50 |
### 清洗
|
51 |
* 我们删除了*raw_formulas*中一些无用的垃圾数据
|
52 |
* 我们删除了*raw_formulas*中过于复杂的公式:
|
@@ -59,43 +59,5 @@ task_categories:
|
|
59 |
* \end{split}
|
60 |
* \nonumber
|
61 |
* \notag
|
62 |
-
* *raw_formulas*中的`equation、equation*、align、\[...\]
|
63 |
-
* 我们删除了*raw_formulas
|
64 |
-
* \newcommand{\R}{\mathbb{R}}
|
65 |
-
* \newcommand{\N}{\mathbb{N}}
|
66 |
-
* \newcommand{\Z}{\mathbb{Z}}
|
67 |
-
* \newcommand{\Q}{\mathbb{Q}}
|
68 |
-
* \newcommand{\C}{\mathbb{C}}
|
69 |
-
* \newcommand{\avg}[1]{\left<#1\right>}
|
70 |
-
* \newcommand{\Deriv}[2]{\frac{\mathrm{d} #1}{\mathrm{d} #2}}
|
71 |
-
* \newcommand{\dd}{\mathrm{d}}
|
72 |
-
* \newcommand{\norm}[1]{\left\lVert#1\right\rVert}
|
73 |
-
* \newcommand{\abs}[1]{\left|#1\right|}
|
74 |
-
* \newcommand{\vect}[1]{\mathbf{#1}}
|
75 |
-
### 分词
|
76 |
-
符合以下pattern的子串被视为一个词:
|
77 |
-
* \begin{.*?}
|
78 |
-
* \end\{.*?}
|
79 |
-
* \\[A-Za-z]+
|
80 |
-
|
81 |
-
以下字符串也被视为一个词:
|
82 |
-
* \\[
|
83 |
-
* \\]
|
84 |
-
* \\\
|
85 |
-
* \\{
|
86 |
-
* \\}
|
87 |
-
* \\_
|
88 |
-
* \\$
|
89 |
-
* \\&
|
90 |
-
* \\#
|
91 |
-
* \\%
|
92 |
-
* \\|
|
93 |
-
* '
|
94 |
-
* ''
|
95 |
-
* '''
|
96 |
-
* ''''
|
97 |
-
* '\^
|
98 |
-
* ''\^
|
99 |
-
* '''\^
|
100 |
-
* ''''\^
|
101 |
-
|
|
|
7 |
# Dataset Description
|
8 |
> English version is [here](./README_English.md)
|
9 |
|
10 |
+
这里有两个数据集:*raw_formulas*和*cleaned_formulas*。
|
11 |
|
12 |
+
我们在*arxiv*上爬取了约100万条未经过清洗以及文本分词的latex公式的图片文本对从而得到了*raw_formulas*数据集。在将*raw_formulas*数据集进行**清洗**并加入**(im2latex-100K)[https://zenodo.org/records/56198#.V2px0jXT6eA]**后得到了*cleaned_formulas*数据集。
|
13 |
|
14 |
渲染公式对应的图片时,需要用到以下外部包:
|
15 |
* amsmath
|
|
|
46 |
* \textheight
|
47 |
* \rule
|
48 |
|
49 |
+
## *cleaned_formulas*数据集的一些预处理细节
|
50 |
### 清洗
|
51 |
* 我们删除了*raw_formulas*中一些无用的垃圾数据
|
52 |
* 我们删除了*raw_formulas*中过于复杂的公式:
|
|
|
59 |
* \end{split}
|
60 |
* \nonumber
|
61 |
* \notag
|
62 |
+
* *raw_formulas*中的`equation、equation*、align、\[...\]`公式环境均被替换成了`align*`公式环境
|
63 |
+
* 我们删除了*raw_formulas*中包含自定义宏的公式。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|