Skip to content

Commit

Permalink
Adding test files
Browse files Browse the repository at this point in the history
  • Loading branch information
rateixei committed Jan 28, 2025
1 parent c0cc68b commit aca25ae
Show file tree
Hide file tree
Showing 4 changed files with 510 additions and 0 deletions.
Binary file added tests/data/docx/equations.docx
Binary file not shown.
31 changes: 31 additions & 0 deletions tests/data/groundtruth/docling_v2/equations.docx.itxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
item-0 at level 0: unspecified: group _root_
item-1 at level 1: paragraph: This is a word document and this ... nt an equation by line, I can do this:
item-2 at level 1: paragraph:
item-3 at level 1: paragraph: $a^{2}+b^{2}=c^{2} \text{ \texttimes } 23$
item-4 at level 1: paragraph: And that is an equation by itself. Cheers!
item-5 at level 1: paragraph:
item-6 at level 1: paragraph: This is another equation:
item-7 at level 1: paragraph: $f\left(x\right)=a_{0}+\sum_{n=1 ... )+b_{n}\sin(\frac{n \pi x}{L})\right)$
item-8 at level 1: paragraph:
item-9 at level 1: paragraph: This is text. This is text. This ... s is text. This is text. This is text.
item-10 at level 1: paragraph:
item-11 at level 1: paragraph:
item-12 at level 1: paragraph: This is a word document and this ... nt an equation by line, I can do this:
item-13 at level 1: paragraph:
item-14 at level 1: paragraph: $\left(x+a\right)^{n}=\sum_{k=0} ... c{}{}{0pt}{}{n}{k}\right)x^{k}a^{n-k}$
item-15 at level 1: paragraph:
item-16 at level 1: paragraph: And that is an equation by itself. Cheers!
item-17 at level 1: paragraph:
item-18 at level 1: paragraph: This is another equation:
item-19 at level 1: paragraph:
item-20 at level 1: paragraph: $\left(1+x\right)^{n}=1+\frac{nx ... t)x^{2}}{2!}+ \text{ \textellipsis } $
item-21 at level 1: paragraph:
item-22 at level 1: paragraph: This is text. This is text. This ... s is text. This is text. This is text.
item-23 at level 1: paragraph:
item-24 at level 1: paragraph:
item-25 at level 1: paragraph: This is a word document and this ... nt an equation by line, I can do this:
item-26 at level 1: paragraph:
item-27 at level 1: paragraph: $e^{x}=1+\frac{x}{1!}+\frac{x^{2 ... ellipsis } , - \infty < x < \infty $
item-28 at level 1: paragraph:
item-29 at level 1: paragraph: And that is an equation by itself. Cheers!
item-30 at level 1: paragraph:
Loading

0 comments on commit aca25ae

Please sign in to comment.