[
https://issues.apache.org/jira/browse/TIKA-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893603#comment-17893603
]
Tim Allison commented on TIKA-4337:
-----------------------------------
This is relevant for text extraction. I am NOT suggesting that you implement
this, though.
It looks like xps also has structure/tags/structure info like PDF does to try
to group text pieces logically. If you look at:
10b9b1c63da0c725f74256f22bbd4956a64b35cea3edc6ab6a43eeb7710888d6, there's a
Structure directory under Document, and in the Fragments subdir, there are
lists of which text runs should be in the same paragraph.
{code:xml}
<StoryFragment FragmentType="Content" StoryName="MainStory">
<ParagraphStructure>
<NamedElement NameReference="a0"/>
</ParagraphStructure>
<ParagraphStructure>
<NamedElement NameReference="a1"/>
<NamedElement NameReference="a2"/>
</ParagraphStructure>
<ParagraphStructure>
<NamedElement NameReference="a3"/>
<NamedElement NameReference="a4"/>
</ParagraphStructure>
{code}
> Improvements to recent xps mods
> -------------------------------
>
> Key: TIKA-4337
> URL: https://issues.apache.org/jira/browse/TIKA-4337
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Minor
> Attachments: xps-reports.tgz
>
>
> I pulled 249 xps files out of the latest commoncrawl crawl and compared
> 3.0.1-SNAPSHOT with 3.0.0. There are some new exceptions, one NPE, and a few
> number format exceptions where a comma-delimited string is parsed as if it
> were an integer.
> Reports are attached. See esp. new_exceptions_in_b_details.xlsx and
> content_diffs_no_exceptions.xlsx.
> The source files are available here:
> https://corpora.tika.apache.org/base/share/xps.tgz
--
This message was sent by Atlassian Jira
(v8.20.10#820010)